Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.


Comment on Re: Using PIped-in and invocation arguments in same script
Download Code

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 romping around the Monastery: (8)
As of 2014-09-20 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls