You can also use different delimiters for regular expressions. Instead of "//", it is also common to use "{}" in order to avoid escaping the special "/" character. Parentheses are optional with split:
($lvl1, $lvl2, $userid, $filename)= split {/};
I know nothing about databases, but if you are trying to interpolate variable values into a quoted string, you must not use single quotes. For example, '@file[1]' returns the literal string, rather than the value which is in element 1 of the @file array.
If you are really trying to access...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.