By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,242 Members | 1,196 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,242 IT Pros & Developers. It's quick & easy.

How to update a perl module .pm file ?

P: 1
Hi,

This is a newbie question.

I updated this perl module xx.pm file, which is used by my cgi script. But when I run cgi, the change in xx.pm file doesn't seem to be picked up.

How do I update xx.pm file ?

Thanks !
Jan 11 '08 #1
Share this Question
Share on Google+
2 Replies


KevinADC
Expert 2.5K+
P: 4,059
If you changed something in a module, and your main perl script uses that module, the changes are effective immediately. There is nothing you have to do. Why your perl script does not seem to see the changes must be from some other problem you are missing. Possibly the pages that display the results of your CGI script are cached locally, and you are seeing the cached pages. Try emptying the browsers cached files and see if that works. You can also press key combinations to force the server to not use a cached page, something like pressing and holding the shift key and click on the "go" button on the browser.
Jan 12 '08 #2

P: 33
if you are using that pm file which might be installed
for ex. if pm file name is pkg1.pm and you are using it like "use pkg1;"

then try to reinstall the module and check it.
Jan 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.