The abs $2 is to chop off any leading 0's (00012 to 12 for example). Probably not the approved method, butwhatthehell.
Haven't really got any additional info. on the problem. I'm basically going through a large data file, and each line starts with a numeric. Everything goes fine, but then suddenly I'll get a crop of warnings, then fine again, then warnings.
It doesn't really make any sense to me, and I wonder if the problem is elsewhere in my code and being misreported.
Still, apart from that, I get no warnings, so I guess I'll turn 'em off.
Oh, perl 5.6.0 under win2000.
Tom Melly, tom@tomandlu.co.uk
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.