in reply to Re^2: Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
in thread Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner

"\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}"

  • Comment on Re^3: Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner

Replies are listed 'Best First'.
Re^4: Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
by j1n3l0 (Friar) on Aug 21, 2008 at 16:48 UTC
    Okay, thanks for your input =)


    Smoothie, smoothie, hundre prosent naturlig!