Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: odd behavior with DATA section

by Nkuvu (Priest)
on Jul 25, 2005 at 17:36 UTC ( #477916=note: print w/replies, xml ) Need Help??

in reply to Re: odd behavior with DATA section
in thread odd behavior with DATA section

Changed the text after the __DATA__ token like your example. The warnings went away. Undid the changes, the warnings did not reappear.

So frustration of frustrations, the file seems to be "fixed." I can't reproduce the error, even after recreating the file exactly the same way I did on Friday. If I did not have documented evidence of the output I'd categorize this as temporary insanity.

Replies are listed 'Best First'.
Re^3: odd behavior with DATA section
by converter (Priest) on Jul 26, 2005 at 00:53 UTC

    Somewhere along the way your text was probably edited with both a Windows editor and a Mac editor, leaving alternating records with an odd combination of CR and LF on the ends, creating "invisible" empty records in the process. Merging the lines together probably removed the offending characters.

      I wish it were that simple to diagnose. The Excel file used to create the script was created on Windows, and all editing of the script was done in emacs on Windows. The only time this script was even run on a Mac was after I got home last Friday evening and copied the script into emacs on my Mac. The script created on the Mac never left the Mac.

      Since I can't recreate the issue, I don't think there's any way I'll be able to definitively tell what was really going on. Which I find to be supremely frustrating.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://477916]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-06-25 00:58 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.