in reply to simple file question, extra spaces, win32
I suspect the file has special characters that only MS software likes. Try something like this:
my $row = <$fh>; local $, = ' '; print map { ord $_ } split //, $row;
Which should print out the base-10 value of each character in the row with spaces in between. Then check the ASCII value of each character. You should be able to find the problematic character in there.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|