Menu

Can't call method "read_config"

Help
John
2006-05-29
2013-04-26
  • John

    John - 2006-05-29

    Just tried to install docperl on a debian unstable system and I am getting this error message in the apache logs when I try and load the docperl.cgi file in my browser:

    [Mon May 29 22:17:29 2006] [error] [client 127.0.0.1] Can't call method "read_config" without a package or object reference at /var/www/docperl/docperl.cgi line 36.

    Just wondering where that method is.

    cheers
    John

     
    • Ivan Wills

      Ivan Wills - 2006-05-29

      Hi,

      "read_config" is exported by Config::Std which probably means that you don't Config::Std installed.

      You can try installing it with
      cpan Config::Std
      or
      perl -MCPAN -e 'install Config::Std'

      I don't think there is a debian package for Config::Std yet (at least there isn't one in Ubuntu Breezy)

      Ivan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.