in reply to Re^4: Crypt::SMIME Trouble
in thread Crypt::SMIME Trouble
<PKEY> will only read one line from the file, or, in list context (as you have it there), read all lines as lists. Unless you have no line endings in your files, this is likely not what you want. I recommend reading the file into a variable first, inspecting the variable for correctness, and then passing on the variable to ->setPrivateKey.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Crypt::SMIME Trouble
by Anonymous Monk on Nov 30, 2010 at 13:27 UTC |