Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Refreshing use/require

by clickingwires (Initiate)
on Apr 03, 2012 at 19:14 UTC ( #963295=perlquestion: print w/ replies, xml ) Need Help??
clickingwires has asked for the wisdom of the Perl Monks concerning the following question:

I have a daemon that is running and I was wondering if there was an easy way to refresh the code in a use or require statement. I want to make changes and have them reflected but I don't want to have stop and start the daemon every time I make a change. Ideas?

Replies are listed 'Best First'.
Re: Refreshing use/require
by moritz (Cardinal) on Apr 03, 2012 at 19:26 UTC
Re: Refreshing use/require
by GrandFather (Sage) on Apr 04, 2012 at 05:56 UTC
Re: Refreshing use/require
by SuicideJunkie (Vicar) on Apr 03, 2012 at 19:27 UTC

    Perhaps a script similar to Coding for OpenGL "live" would be useful for you. Rather than reloading many times per second, you would probably want to reload only when the daemon gets a specific signal or command.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-06-30 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.