in reply to Re: Attempt to parse a line with odd characters is unsuccessful.
in thread Attempt to parse a line with odd characters is unsuccessful.

Derby,
Thanks for your answer.
Will the linux perl interpret the whitespace from Windows correctly?
My test did not work.
It keeps coming back when I show the value in the interpreter as "undef".
  • Comment on Re^2: Attempt to parse a line with odd characters is unsuccessful.

Replies are listed 'Best First'.
Re^3: Attempt to parse a line with odd characters is unsuccessful.
by derby (Abbot) on Jul 22, 2011 at 01:42 UTC
    Whitespace is whitespace. Windows nor linux should matter (granted the eol delimiter is different but they're both whitespace). I'm guessing there's more to the code and/or data than the snippet you've shown. If you could give more details for 'It keeps coming back when I show the value in the interpreter as "undef"', we could track down the issue.
    -derby
Re^3: Attempt to parse a line with odd characters is unsuccessful.
by cdarke (Prior) on Jul 22, 2011 at 07:11 UTC
    Check the input file really is what you expect with something like od -xc file.txt