Skip Menu |

This queue is for tickets about the Crypt-RSA CPAN distribution.

Report information
The Basics
Id: 86516
Status: new
Priority: 0/
Queue: Crypt-RSA

Owner: Nobody in particular
Requestors: Walter.D.Eaves [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Crypt::RSA::Key::Private::deserialize()
Date: Fri, 28 Jun 2013 11:56:36 +0100
To: bug-Crypt-RSA [...]
From: Walter Eaves <walter.d.eaves [...]>
Download (untitled) / with headers
text/plain 511b
Hello, I'm using 1.99. I wanted to embed my private key as a here document inside a module. I used serialize(), embedded the key with 'END' in my module, but when I tried to deserialize(String => $doc) I hit the "strict refs" error. I worked around it by writing to a tempfile and using new() as usual. If you changed the constructor to accept a filehandle, I could have used the open($fh, "<", \$doc); feature from 5.8 that allows a filehandle to be opened on a variable. --

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to