The scalar reversal to string order is occuring in the string you split, try this: perl -le '$,=":";print split( /\./, "filename.ext", 2)' I'm not sure why you had all those reverse operators in there.
Would s/\./:/ have sufficed?
After Compline,
Zaxo
In reply to Re: elements not reversing inside a map
by Zaxo
in thread elements not reversing inside a map
by Transient
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |