Ok, i use data dumper to put a lot of data into a text field in my database and this has been working well for several months now but then today it stopped working. I didn't change anything and no one else is sopposed to have access to my server...
It seems like it's not putting quotes around strings for some reason. anyways i have to problems now. 1 fixing it so it doesn't do this anymore and 2 fixing all the broken records that no longer eval (several thousand of them)
(A shortend version of what it's outputting)
$VAR1 = {building => { production => [0,75], current => Construction Y +ard }, heard => Had a Previous Acount , spells => {}, email => creato +rNOSPAM @ operamail.com , };

In reply to Data Dumper not outputting valid perl? by kael

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.