Hi folks,
I'm using the ParseWords perl module to parse through a csv file. When
it encounters a word in it, specifically one with an umlaut in it, it
creates an empty set for that line in the file. Any suggestions on how
to fix this?
Thanks.
___
Perl
Consider this:
while () {
@_ = split /\s*:\s*/;
if (/something/) {
$found = $_[$#_];
...
My interpretation based on what is happening:
$_ is set to whatever current line is read-in via the while loop. That
line is split and stored into the current argument stack.
From: "Andy Ryan" <[EMAIL PROTECTED]>
> I'm using the ParseWords perl module to parse through a csv file. When
> it encounters a word in it, specifically one with an umlaut in it, it
> creates an empty set for that line in the file. Any suggestions on how
> to fix this?
Yep. Dumping ParseWords.
Jon Earle wrote:
> Consider this:
>
> while () {
> @_ = split /\s*:\s*/;
> if (/something/) {
> $found = $_[$#_];
> ...
>
> My interpretation based on what is happening:
>
> $_ is set to whatever current line is read-in via the while loop. That
> line is split a