Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Re: Re: WxPerl Login Dialogby Jouke (Curate) |
on Sep 11, 2003 at 05:52 UTC ( [id://290599]=note: print w/replies, xml ) | Need Help?? |
There is a perfectly good situation when you want OnInit to return false imho. I use it myself in pVoice, where I use the SingleInstanceChecker. If there is already another copy of pVoice running, I let OnInit return false, so the application dies.
Jouke Visser, Perl 'Adept' Using Perl to help the disabled: pVoice and pStory
In Section
Cool Uses for Perl
|
|