http://qs321.pair.com?node_id=296315


in reply to DataStore.pm

Do this:

perl -e'shell;' -MCPAN

cpan> install DataStore

## lots of install stuff ##

cpan> exit

Your CGI should then work.

--Rhys

Replies are listed 'Best First'.
Re: Re: DataStore.pm
by barrd (Canon) on Oct 03, 2003 at 16:36 UTC
    Hi Rhys,
    Nice try, but you should of checked that DataStore existed before offering that advice ;)
    Warning: Cannot install DataStore, don't know what it is. Try the command i /DataStore/ to find objects with matching identifiers. cpan> i /DataStore/ No objects found of any type for argument /DataStore/
    My guess is that DataStore.pm is a hand rolled module created by someone other than the OP and that the script in question that is breaking was not originally written by the OP.
      Therefore, you should actually look for DataStore.pm in your file system:
      find / -name DataStore.pm
      @INC always looks in '.' too, so check out the directory the CGI script is in, you may see it in there.

      But your other problem may be a typo problem, the module needed may very well be in the @INC, but slightly misnamed..it doesnt seem likely since 'DataStore' IS spelt correctly, but the module may have vowels missing or summat: 'DataStr.pm etc.

      Maybe try

      find / -name \*.pm

      If all else fails, google for it, or contact previous owners of the CGI directory.

      Cheers
      Sam