in reply to Hiding programs launched within wperl'd script

mdog Sorry for the delay. I knew I'd seen this somewhere, but for the life of me couldn't remember what and where. Having googled and googled, I finally found that I had referred to this here once before. All credit goes to Jenda, not me.

If you add the following code to your wperl scripts, using backticks will o longer cause that annoying flash as the console appears and disappears.

BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow };

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Hiding programs launched within wperl'd script
by mdog (Pilgrim) on Jan 20, 2006 at 18:24 UTC
    BrowserUK to the rescue! Again!

    Thanks to Jenda for figuring this out and putting it on the internet(s) and thanks to you, BrowserUK, for taking the time to track this down and post it!

    Works like a charm!