Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: checking for piped input data

by parv (Parson)
on May 04, 2023 at 03:21 UTC ( [id://11151987]=note: print w/replies, xml ) Need Help??


in reply to Re^2: checking for piped input data
in thread checking for piped input data

Personally I would use the option specification that requires an argument, opt=s (instead of leaving it optional, opt:s, as rot earlier). If the option value would be -, then would switch to reading from standard input unconditionally (without using -p function). That special value of opt would be mentioned in the POD.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found