use strict; use warnings; my @path = split(/\\/, "c:\\windows\\desktop\\pic3.jpg"); print pop(@path);
Note the escaped "\" character.
----
Coyote
In reply to Re: Quick Regex question
by Coyote
in thread Quick Regex question
by Stamp_Guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |