No such thing as a small change | |
PerlMonks |
Re^2: Writing unix-style filtersby njcodewarrior (Pilgrim) |
on Apr 11, 2007 at 23:38 UTC ( [id://609526]=note: print w/replies, xml ) | Need Help?? |
If you don't wanna read from the files on the command line, why are you using <>? Because I'd like to be able to pipe a list of files (from ls, echo, etc) into the script as well as list them on the command line:
or
or my_script.pl *.txtThe only way I can figure to do all of the above is using <>. I'm learning the ins and outs of the *nix OS at the same time I'm learning perl...am I missing something here? njcodewarrior
In Section
Seekers of Perl Wisdom
|
|