Re: Exit from Sub Routine without exit the script

2005-07-26 Thread JPerlmutter
Brent, look at the name, i'm not sure English is the first language. you might wanna find the right language to send that in. took me a while, but i think i agree with Brian, we need a bit more to be of much help a suggestion i follow when i have multiple possible returns in this structure

Re: Exit from Sub Routine without exit the script

2005-07-26 Thread David Nicol
Perl supports exception handling with the C keyword. package everything_is_an_error; sub AUTOLOAD { die "$AUTOLOAD is an error! (called with args @_)\n" }; package Chandrasekaran; eval { everything_is_an_error->wibble('frobnitz','lumpengroovy') } print "We got an error, y

Re: Exit from Sub Routine without exit the script

2005-07-26 Thread Brent G
Chandrasekaran Suresh wrote: Hello, I am calling a perl module from my one perl script. Inside the module I am working with some database. IF found error during the execution in the module in need to exit from the subroutine and continues the process.. How to handle this situation Please a

RE: Exit from Sub Routine without exit the script

2005-07-26 Thread Bowie Bailey
From: Chandrasekaran Suresh [mailto:[EMAIL PROTECTED] > > I am calling a perl module from my one perl script. > Inside the module I am working with some database. IF > found error during the execution in the module in need > to exit from the subroutine and continues the > process.. You can alwa

RE: Exit from Sub Routine without exit the script

2005-07-26 Thread Brian Raven
[EMAIL PROTECTED] wrote: > Hello, > > I am calling a perl module from my one perl script. > Inside the module I am working with some database. IF found > error during the execution in the module in need to exit from > the subroutine and continues the process.. > > How to handle this situation >

Re: Exit from Sub Routine without exit the script

2005-07-26 Thread $Bill Luebkert
Chandrasekaran Suresh wrote: > Hello, > > I am calling a perl module from my one perl script. > Inside the module I am working with some database. IF > found error during the execution in the module in need > to exit from the subroutine and continues the > process.. > > How to handle this sit

Exit from Sub Routine without exit the script

2005-07-26 Thread Chandrasekaran Suresh
Hello, I am calling a perl module from my one perl script. Inside the module I am working with some database. IF found error during the execution in the module in need to exit from the subroutine and continues the process.. How to handle this situation Please advice me Regards, Suresh C __