grrrrr.  I'm trying to parse an uploaded file that was created on a macintosh.  With PC files, I use this snippet:
 
my $rawfile = $cgi->param($p);
my @data = "<$rawfile>;
 
which creates an array, each element of which is one line of text.  With files created on a mac, the whole file gets put into $data[0], which is not what I want.  What's the best way to handle this, since I want to be able to handle files uploaded by both mac and pc users?

Reply via email to