Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Problem with module using Crypt::OpenPGP

by Chmrr (Vicar)
on Aug 17, 2003 at 06:04 UTC ( #284393=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://284393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-10-01 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (6 votes). Check out past polls.