Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by elwarren (Priest)
on Jan 04, 2005 at 20:12 UTC ( [id://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...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-19 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found