You are trying to split based on the regex 'escape' character, so you need to escape it. :-)
@stuff = split /\\/, $filename;
In reply to Re: How do i do the following
by virtualsue
in thread How do i split on \
by Dartanion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |