pat_mc has asked for the wisdom of the Perl Monks concerning the following question:
My oberservations were:#! /usr/bin/perl -w print $ARGV[0];
while$ test.pl Hello Hello
echo "Hello" | test.pl Use of uninitialized value in print at ./test.pl line 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Difference between piped-in and invocation arguments to a Perl script?
by cdarke (Prior) on Jan 23, 2009 at 12:09 UTC | |
|
Re: Difference between piped-in and invocation arguments to a Perl script?
by Corion (Patriarch) on Jan 23, 2009 at 12:18 UTC | |
|
Re: Difference between piped-in and invocation arguments to a Perl script?
by targetsmart (Curate) on Jan 23, 2009 at 12:05 UTC | |
|
Re: Difference between piped-in and invocation arguments to a Perl script?
by jrw (Monk) on Jan 23, 2009 at 17:25 UTC | |
|
Re: Difference between piped-in and invocation arguments to a Perl script?
by rekoil (Novice) on Jan 24, 2009 at 04:50 UTC |