£okì has asked for the wisdom of the Perl Monks concerning the following question:
Where @subs is an array of subroutines in that .pl file However at this point, all it does is undefine that subroutine, the require does not seem to help. I know I'm way off track here. Please point me in the correct direction again.foreach my $sub (@subs) { undef(&{$sub}); } require "%s/modules/%s.pl", $base{dir}, $module;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reloading of module
by tinita (Parson) on Dec 30, 2004 at 21:25 UTC | |
by £okì (Scribe) on Dec 30, 2004 at 21:30 UTC | |
by tinita (Parson) on Dec 30, 2004 at 21:34 UTC | |
|
Re: reloading of module
by revdiablo (Prior) on Dec 30, 2004 at 21:26 UTC | |
|
Re: reloading of module
by borisz (Canon) on Dec 30, 2004 at 22:16 UTC | |
by £okì (Scribe) on Dec 31, 2004 at 15:03 UTC | |
by borisz (Canon) on Dec 31, 2004 at 15:19 UTC |