in reply to Calling a Perl filter script from command line
if you were to make a test file called test.pl with the lines
#!/usr/bin/perl -w
print <STDIN>;
in it, then do a "cat test.pl |./test.pl"
it would print:
#!/usr/bin/perl -w
print <STDIN>;
-Ryan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: Calling a Perl filter script from command line
by tye (Sage) on Jan 05, 2001 at 23:18 UTC |