[Wylug-help] perl and Tie::Handle::CSV
Smylers
Smylers at stripey.com
Fri Jun 29 09:37:13 BST 2007
Nigel Metheringham writes:
> On 28 Jun 2007, at 17:57, Gary Stainburn wrote:
>
> > dos2unix didn't remove the ^Z, but I used grep instead and it
> > worked fine.
>
> Alternatively put a __END__ in after the guts of your program - when
> the compiler sees that it stops processing the file, so any trailing
> garbage will be ignored.
That's good if the problematic ^Z is in your program source; but if its
at the end of the CSV file that you're trying to parse then it won't
make any difference!
Smylers
More information about the Wylug-help
mailing list