Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Using PIped-in and invocation arguments in same script

by Anonymous Monk
on Jan 24, 2013 at 13:28 UTC ( #1015170=note: print w/replies, xml ) Need Help??


in reply to Using PIped-in and invocation arguments in same script

-p is for pipe :)
$ perl -le " warn 0+ -t STDIN ; warn 0+ -p STDIN " 1 at -e line 1. 0 at -e line 1. $ echo | perl -le " warn 0+ -t STDIN ; warn 0+ -p STDIN " 0 at -e line 1. 1 at -e line 1.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-09-26 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (475 votes). Check out past polls.