Exiting SOAP::Transport::HTTP gracefully

2005-07-26 Thread Foo Ji-Haw
Hello all, I need to run a SOAP daemon, created via the daemon example in the ActivePerl library. This daemon runs on its own thread. When it receives a SOAP call, it will drop stuff into the shared variables (threads::shared) and other threads will work on it. Because the program needs to r

How can I access windows dialog box to select users and groups ?

2005-07-26 Thread Tevfik Karagülle
Hi, I try to find a way to access tha standard dialog box for selecting users and groups for permissions management. If you are unsure about what i'm talking about, pick a file from explorer, right click-->Properties-->Security-->Add. Any clues ? Thanks in advance. Best rgrds Tev smime.p7s D

RE: ActivePerl Digest, Vol 18, Issue 17

2005-07-26 Thread Siletsky, Andray
You can use die and eval (it works like "try" and "catch" in java or C#) sub db_routine { $err = do_db_operation; if ($err) { die $err; } else { do_anything_else; return $results; } } eval {$res = db_routine;}; pri

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 __