You're giving the opposite of what was asked forYes, you're right. I misread the OP's question.
and you should escape your backslashesSure?
Unmatched [ in regex; marked by <-- HERE in m/([ <-- HERE ^/my ($file) = ($path =~ /([^//]*)$/);
In reply to Re^3: Get last occurence of a character in a string
by FunkyMonk
in thread Get last occurence of a character in a string
by theroninwins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |