in reply to foreach - adding newlines?

The input file was created on a unix system, there doesn't seem to be any errant newlines introduced (everything is done locally on my workstation - there isn't any ftp-ing, and I've created most using plain 'ol vi)
$/ isn't set to anything explicitly - my understanding is that should default to \n, although I'll be more than willing to try it (although I can't seem to figure out how to do that offhand)
I tried adding the split on the @EVENT_ARRAY line, and the script outputs nothing, blank. Thanks for the quick responses...

Replies are listed 'Best First'.
Re^2: foreach - adding newlines?
by repellent (Priest) on Feb 09, 2009 at 21:17 UTC
    On the command line, what output do you get when you do:
    perl -lne 'print "Got CR" and last if /\r/' t1Vevents.txt

    Do you see "Got CR" printed?