Boy oh boy...
$name = (split/-\d/,$string)[0];
Just never use it on anything that starts with -\d.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: regex problem!
by antirice
in thread regex problem!
by atnonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |