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

Re^2: CSH script that calls a perl script

by mark4444az (Sexton)
on Oct 16, 2012 at 22:19 UTC ( #999437=note: print w/ replies, xml ) Need Help??


in reply to Re: CSH script that calls a perl script
in thread CSH script that calls a perl script

Both no's on your questions I'm afraid. Actually, if I could evaluate a return value as a 1 or 0 I think that would work. That way I could shut the action down from the csh. I'm not sure how exactly to accomplish that but I think that would get me through my current dilemma. I tried using perl only and I may not have time to do that. The main problem there is that it produces a log file from another exe and so far perl does not seem to be working for that.


Comment on Re^2: CSH script that calls a perl script
Re^3: CSH script that calls a perl script
by tobyink (Abbot) on Oct 17, 2012 at 07:09 UTC

    Would you be happy with your Perl script returning 0 for success and 255 for failure? If so, take note...

    $ perl -e'die'; echo "GOT $?" Died at -e line 1. GOT 255 $ perl -e'exit'; echo "GOT $?" GOT 0
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-07-25 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls