Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Cant display results when Crypt::RSA is used

by Prior Nacre V (Hermit)
on Oct 12, 2004 at 09:10 UTC ( [id://398424]=note: print w/replies, xml ) Need Help??


in reply to Cant display results when Crypt::RSA is used

Please run the following on your system and report output.

use strict; use warnings; use Crypt::RSA; print "Hello";

I suspect you have a problem with this module (maybe one of the many Crypt::RSA::* modules it uses is missing or corrupt). With warnings turned off, this will die at the use line and never reach the print line.

Regards,

PN5

Replies are listed 'Best First'.
Re^2: Cant display results when Crypt::RSA is used
by piyush.shourie (Beadle) on Oct 12, 2004 at 09:30 UTC
    Hi,

    I have run the mentioned code with warnings turned ON, but still it produces neither any output, nor any warning.

    I have build all the required modules myself, and no errors were encountered at the build/install time.

    Can you verify this piece of code on any other system if the said behavious is consistant on all machines.
    For further reference, I am using ActiveState Perl Version 5.6.1.

    Thanks,
    PS

      Before posting I did try to run the code but I don't have this module installed on any of the systems I have access to. I don't have an ActiveState/Perl5.6 combination anyway.

      Perhaps another monk has the same setup as you and can provide a better answer.

      Failing that, here's the types of things I would be trying:

      • Remove the use statement to check print is working
      • Change Crypt::RSA to some other cryptographic module (e.g. Digest::MD5) and see it that prints
      • Change Crypt::RSA to some module you have never had a problem with (e.g. Carp) and see if that prints
      • Change use to require and see if anything different happens
      • Change output to unbuffered and see if that helps

      Regards,

      PN5

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-19 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found