How to update a perl module .pm file ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alinkrav
    New Member
    • Jan 2008
    • 1

    How to update a perl module .pm file ?

    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 !
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    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.

    Comment

    • mohanprasadgutta
      New Member
      • Dec 2007
      • 33

      #3
      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.

      Comment

      Working...