http://www.perlmonks.org?node_id=676250


in reply to Re: A Macro System for Perl?
in thread A Macro System for Perl?

No.

Replies are listed 'Best First'.
Re^3: A Macro System for Perl?
by cramdorgi (Acolyte) on Mar 26, 2008 at 08:32 UTC
    2 letter reply... Could it be that I was too terse?

    I meant obviously:

    macro retorexit() { if ($noexit) { return $_; } else { exit $_; } }

    As I see this as a good example of a useful macro, the only other way I can interpret your reply is that you know an obvious other way to do this elegantly.
    May I ask which?

    Marc

      Oh sure, that could work. Except that this conversation happened 6 years ago! And went no where!

      -sam