Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-06-17 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (107 votes). Check out past polls.

    Notices?