Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: perl program return error code to ksh

by blue_cowdawg (Monsignor)
on Jun 24, 2014 at 14:20 UTC ( #1091060=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ~# perl -e 'die "trying"'
    trying at -e line 1
    ~# echo $?
    255
    
  2. or download this
    myscript.pl | do_something
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2023-06-07 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (29 votes). Check out past polls.

    Notices?