Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: Bug in perl command line processing?

by Anonymous Monk
on May 22, 2012 at 22:58 UTC ( #971906=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat uhoh
    #!/usr/bin/perl -i.bak e die(666)
    1;
    ...
    $ perl uhoh
    Can't emulate -e on #! line at uhoh line 1.
    
  2. or download this
    system $^X, "-i$bak", ...
    
  3. or download this
    $ perl  -e warn(1); -e die(2);
    1 at -e line 1.
    2 at -e line 2.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-07-01 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.