Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CLI and problems

by benn (Vicar)
on Aug 17, 2003 at 16:12 UTC ( #284424=note: print w/replies, xml ) Need Help??


in reply to CLI and problems

One way would be to wrap your "execCommand()" call in an 'eval' - then getParam() could die, and you simply check $@ for success / failure.

Cheers, Ben.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://284424]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2017-05-01 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (543 votes). Check out past polls.