Re: [Siglinux] perl question

2004-10-13 Thread Andrew Gaul
On Wed, Oct 13, 2004 at 05:48:35PM -0500, William L. Jarrold wrote: > How do I modify foo.pl to tell me which filename (or argument) of > which it is about to vomit out the text of? $ARGV > p.s. my recent incursion into Programming Perl did not produce the > answer. man perlvar -- Andrew Gaul

[Siglinux] perl question

2004-10-13 Thread William L. Jarrold
at the risk of seeming too lazy (but does that mean i am good perl programmer? (-;), i have the following hopefully simple perl question: supposin' i've got foo.pl like so... while (<>) { print "ANOTHER LINE IS..."; print $_ } i can call ... foo.pl blah.text ...and it will