http://www.perlmonks.org?node_id=290599


in reply to Re: Re: Re: WxPerl Login Dialog
in thread WxPerl Login Dialog

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