Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re-using/changing a class

by mr.nick (Chaplain)
on Feb 10, 2001 at 00:36 UTC ( [id://57474]=note: print w/replies, xml ) Need Help??


in reply to Re-using/changing a class

Check out the thread Forcing a PERL script to reload libraries. I think it will answer all your questions.

The short answer is something like

$SIG{HUP}=sub { delete $INC{"MyRoutines.pl"}; require "MyRoutines.pl"; }
will work.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-16 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found