If your "always" isn't true, then the value will be undef.my ($last_char_digit) = ($string =~ /(\d)\z/);
In reply to Re: String matching problem
by merlyn
in thread String matching problem
by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |