dk has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
Can anybody explain why I'm seeing the difference in those pieces of code? I thought these should be identical:
Thank you!$ perl -e 'open F, @ARGV or die $!' '|-' echo 42 No such file or directory at -e line 1. $ perl -e 'open F, $ARGV[0],$ARGV[1],$ARGV[2] or die $!' '|-' echo 42 42
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: pipe list open trouble?
by salva (Canon) on Sep 30, 2014 at 13:13 UTC | |
by LanX (Saint) on Sep 30, 2014 at 14:46 UTC | |
by salva (Canon) on Sep 30, 2014 at 15:28 UTC |
Back to
Seekers of Perl Wisdom