Hi all,

Still thinking about this one. I have:

my $backup = system($rdiff, @args);

# Send e-mail with a few details for success and failures
# Success
if ($backup == 0) {
blah
}


I want to be able to stick the ouput of the $rdiff command into a strong,
as well as get an exit code for it?

Is this a backticks one?

Gavin.

-- 
Just getting into the best language ever...
Fancy a [EMAIL PROTECTED] Just ask!!!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to