You were unlucky in debugging
* kicks self *
I looked at the source code and didn't pick that up...I must have been tired or having a senior moment!
But, it begs the question...
Should I be using this module at all?
- It hasn't been updated in 8 years
- It's unlikely to be on the target machine
- It's only used for testing
- Its documentation is virtually non-existant
- It appears unfinished
I try not to get users to install non-core modules unless really necessary. Especially for testing.
Be warned that eval()'ing things from files is a huge security hole
Is this perhaps a security hole worth accepting because it is only used in testing? So the input file is known and anyone changing the file would be potentially sabotaging themself.
You need to "undump" the file contents somehow and resurrect the Perl data structure you started with
This sounds like the perfect use for a JSON object, especially as JSON::PP is core...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.