foreach $field (split(/\Q$delim\E/, $line)) {
Update: See perldoc -q quote
Cheers,
Darren :)
PS. The word is "delimiter" ;)
In reply to Re: Split - what am i doing wrong?
by McDarren
in thread Split - what am i doing wrong?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |