Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Error message into scallar (http://www.velocityreviews.com/forums/t899951-error-message-into-scallar.html)

EZP 09-16-2006 04:40 PM

Error message into scallar
 
Hi all,
I'm trying to insert the error message from a command into scallar.
my commant is somthing like this:

$output = `command 2>$error_output`

I dont want to enter the error into a file.

Thanks in advance.
EZP


John W. Krahn 09-16-2006 05:15 PM

Re: Error message into scallar
 
EZP wrote:
> Hi all,
> I'm trying to insert the error message from a command into scallar.
> my commant is somthing like this:
>
> $output = `command 2>$error_output`
>
> I dont want to enter the error into a file.


perldoc -q stderr


John
--
use Perl;
program
fulfillment


All times are GMT. The time now is 11:06 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.