From the main script itself but that didn't seem to do much good (I'm calling the sub from another module btw). Then I tried adding the sub to all of my custom modules that the whole script is using and called them all from that first module. Again that didn't work, I've also tried leaving out require $_;.sub reload_modules { for (keys %INC) { if (/^QStat/) { delete $INC{$_}; require $_; } }
In reply to Reloading Modules by rendler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |