go ahead... be a heretic | |
PerlMonks |
Re^2: Dealing with splitby GrandFather (Saint) |
on Feb 22, 2006 at 22:30 UTC ( [id://532110]=note: print w/replies, xml ) | Need Help?? |
You should really test your code before posting. All the \ dissapear from $str - use non-interpolating ' rather than " to fix that. There is a missing / in the split regex and an extra ) following it. Even after fixing those errors, when the code is run a "Use of uninitialized value in split" warning is issued and incorrect output is generated:
DWIM is Perl's answer to Gödel
In Section
Seekers of Perl Wisdom
|
|