[H-GEN] Perl question
Tony Nugent
tony at linuxworks.com.au
Fri Jul 12 05:54:11 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Fri Jul 12 2002 at 16:22, Scott Pullen wrote:
> ($ret_val1, $ret_val2) = ( `small_shell_script`);
>
> The first value gets the entire printed value and the second remains un-
> initialised. I can't qw() the shell script because that of course quotes it and
> doesn't run the script.
>
> Does anyone know how to get around this problem. Failing that has anyone got
> a perl iostat script :~)3
($ret_val1, $ret_val2) = split(',',`small_shell_script`,2);
Cheers
Tony
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list