Re: Program is exiting on a failure

2005-08-26 Thread Tom Allison
Wiggins d'Anconia wrote: Chris Lyon wrote: I seem to be erroring out @ the $session->login portion of my program because the module that I am call is saying the password/username is bad. How do I trap the error and exit cleanly without just dumping from the application: login failed: access d

Re: Program is exiting on a failure

2005-08-25 Thread Wiggins d'Anconia
Chris Lyon wrote: > I seem to be erroring out @ the $session->login portion of my program > because the module that I am call is saying the password/username is > bad. How do I trap the error and exit cleanly without just dumping > from the application: > > > login failed: access denied or bad us

Program is exiting on a failure

2005-08-25 Thread Chris Lyon
I seem to be erroring out @ the $session->login portion of my program because the module that I am call is saying the password/username is bad. How do I trap the error and exit cleanly without just dumping from the application: login failed: access denied or bad username at ./cisco.pl line 47 $s