Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

exec always invokes the shell? win32

by Anonymous Monk
on Feb 09, 2011 at 17:42 UTC ( [id://887244]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    
    ...
    warn " $!  $^E ";
    
    __END__
    
  2. or download this
    $ perl junk.pl 1
    perl -l -e print for @ARGV 1 2
    system  at junk.pl line 24.
    ...
    exec  at junk.pl line 33.
    
    $
    
  3. or download this
    $ perl junk.pl
    perl -l -e "print for @ARGV" -- 1 2
    ...
    
    $ 1
    2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found