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

Re^2: -E behavior with stdin script

by almr (Sexton)
on Sep 05, 2021 at 09:28 UTC ( [id://11136458]=note: print w/replies, xml ) Need Help??


in reply to Re: -E behavior with stdin script (updated x2!)
in thread -E behavior with stdin script

Ah. I was getting confused. So the least-verbose choices become, I think,

  • [-Mstrict] -Mfeature=:all -- - <<EOF to run a stdin script
  • [-Mstrict] -E script to run a stringified script
  • -Mv5.28 {-e script | -- -} (as of now) to require a recent perl with all security & unicode fixes, turn on strict, and run either a stdin or a stringified script.

Replies are listed 'Best First'.
Re^3: -E behavior with stdin script
by NERDVANA (Deacon) on Sep 05, 2021 at 13:03 UTC
    The least verbose option would be -MMyDefaults, where you write a module named MyDefaults that sets all the bits as you prefer and then you install that on each system you use :-)
Re^3: -E behavior with stdin script
by haukex (Archbishop) on Sep 05, 2021 at 13:53 UTC
    -Mfeature=:all

    Sorry, I made a mistake, that's actually not exactly equivalent to -E, please see the updates in my node above.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found