in reply to Re^3: Macro-envy, a snippet.
in thread Macro-envy, a snippet.

I'd rather have an anonymous macro there. It only needs a name if I'm going to do it multiple times or if it's distracting to have inline.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^5: Macro-envy, a snippet.
by brian_d_foy (Abbot) on Feb 21, 2006 at 06:03 UTC

    If you're only going to do it once, you don't need a macro. It seems to me that you have a solution in search of a problem. If you stop fighting Perl and start working with it, you'll probably have an easier time. :)

    --
    brian d foy <brian@stonehenge.com>
    Subscribe to The Perl Review