Just ensure that there is something after the comma... even if it is a space.
If you have no control over the data then perhaps try something like this:
my %hash = map { s/,\n/, \n/; chomp; split /,/ } @array;
In reply to Re: Re: Re: Re: Hash references and illegal octal digits
by Mr. Muskrat
in thread Hash references and illegal octal digits
by peppiv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |