There are profound differences between 5.6.0 and 5.8.0 that involve reading text from files (and these differences can cause unexpected problems on at least on some versions of Linux, possibly other OS's as well). Also, some "features" of 5.8.0 have since been "modified" -- the current stable release is 5.8.4 -- so that there are fewer bothersome differences in behavior relative to 5.6.0 (and earlier versions). For that matter, some of those Linux versions may have been updated to avoid some problems as well (I don't know).
That's all very vague, but as crabbdean has pointed out, so is your question. You must at least be able to make time to tell us in detail what you mean when you say "the script fails to read a config file correctly." Does it give an error message (and if so, what's the message)? Does it report no errors but end up with unexpected data?
While you're at it, it would be relevant (if you can spare a few more seconds) to say what OS type/version you're on, and indicate whether there is any non-ASCII data in the config file.
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.