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


in reply to Problem with module using Crypt::OpenPGP

My guess is that the working directory when run from the webserver is not what you are expecting -- thus, when it goes to load the "./trikey.pub" file, it fails to find it. Try giving the full path to the keyring.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

  • Comment on Re: Problem with module using Crypt::OpenPGP

Replies are listed 'Best First'.
Re: Re: Problem with module using Crypt::OpenPGP
by DamnDirtyApe (Curate) on Aug 17, 2003 at 17:20 UTC

    Thanks, I thought that too, but that's not it. I changed $PUBKEY to the full path to the file, and the behaviour is the same; works from the command line, fails from the web server.


    _______________
    DamnDirtyApe
    Those who know that they are profound strive for clarity. Those who
    would like to seem profound to the crowd strive for obscurity.
                --Friedrich Nietzsche