Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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.



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

    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.


      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



Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-05-27 07:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found