"\x2c" in an interpolated ascii string is the same as ",". But my idea was a idea borne from fast talking, no thinking. Won't work, because it will not be interpolated once it reaches perl code.
Actually I don't know a way to make it work, I tried a few things but no success. My guess is that while Sub::Exporter wants to get a hash reference, it only gets a string that would generate a hash reference if it were executed as perl. So instead of {-as =>something} it gets a string "{-as =>something}"
In reply to Re^3: Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
by jethro
in thread Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
by j1n3l0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |