in reply to elements not reversing inside a map
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
|
|---|