There's more than one way to do things | |
PerlMonks |
Re: Passing an array into an open commandby tcf22 (Priest) |
on Mar 18, 2004 at 18:12 UTC ( [id://337751]=note: print w/replies, xml ) | Need Help?? |
It looks like it should work. I tried the following on Win32 Active Perl 5.8. test1.pl
test2.pl If I run test1.pl, I get 1..50 printed out on seperate lines, just like you would expect. UPDATE: Also works on Red Hat Linux 9. (Just change "test2.pl @a|" to "./test2.pl @a|" of course). - Tom
In Section
Seekers of Perl Wisdom
|
|