Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: More on Win32::Process not waiting

by chargrill (Parson)
on Feb 16, 2007 at 20:12 UTC ( #600513=note: print w/replies, xml ) Need Help??

in reply to More on Win32::Process not waiting

FYI, the following syntax:

$::mainwin = MainWindow->new (-background => '#b5bfcc');

... which is liberally peppered throughout your code is a great way to use global variables and get around the errors you'll encounter when running under use strict. You may want to instead declare your variables with my, i.e.

my $mainwin = MainWindow->new (-background => '#b5bfcc');

Regarding your waiting question, my assumption is that at the time your module is compiled, values like INFINITE and NORMAL_PRIORITY_CLASS (possibly among others) are undefined when you have the use before the module(s) that define them, i.e. use Win32::Clipboard; and use Win32::Process;. One way around that is to put those two Win32 use lines inside your module.

And the above anonymous monk is correct, use strict; and use warnings; in your module would help identify that issue.

s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

Replies are listed 'Best First'.
Re^2: More on Win32::Process not waiting
by Stephen Toney (Sexton) on Feb 16, 2007 at 23:49 UTC
    Good advice. Thanks!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://600513]
[marto]: yeah, I think that as a group creatively they're done. I can understand how it'd be hard to stop the process, album/tour, album/tour, if that's pretty much all you've ever done :)
[marto]: Corion yes I saw them Pandemonium_Tour
[Corion]: marto: Yeah, and I doubt that they'll ever get back to something like Violator/Songs of Faith and Devotion - it would either alienate their "regular" crowd, or be "too much Violator" ;)
LanX needs to see Freddy Mercury'
[Corion]: marto: Yeah, I have that on DVD even, and I missed them last year because I was in London at the time ironically ;)
[marto]: put me in the mood to listen to this now :)
[Corion]: LanX: Well, grab a shovel :)
[Corion]: Kraftwerk also are still touring (well, only Ralf Hütter and Florian Schneider), but I'm too tight fisted to spend EUR 150+ for standing around two hours ;)
[Corion]: Oh. Queen have a new front man. Not really sure...
[marto]: Florian retired some years ago. I have been gifted a ticket to their show in Glasgow as my friends husband can no longer make it

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-03-24 11:47 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (301 votes). Check out past polls.