Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Cleaning up after CTRL-C when using Net::DNS::Nameserver on Windows?

by elwarren (Curate)
on Jan 04, 2005 at 20:12 UTC ( #419392=note: print w/ replies, xml ) Need Help??


in reply to Re: Cleaning up after CTRL-C when using Net::DNS::Nameserver on Windows?
in thread Cleaning up after CTRL-C when using Net::DNS::Nameserver on Windows?

I would rather not fork on windows. I'm trying to keep this code light on memory, and I've had problems with fork and reading from sockets on windows in the past.

Setting this forking discussion aside, this still does't tell me why my END block doesn't run as I expect/want.

It is windows, so I'm thinking about just calling my perl script from a batch file and reseting the interface with a second script that runs after the first one exits. Not as clean of a solution as I'd like, but eventually I expect this to run as a service, so the CTRL-C portion will be moot at that point...


Comment on Re^2: Cleaning up after CTRL-C when using Net::DNS::Nameserver on Windows?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://419392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-25 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls