Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: A Macro System for Perl?

by samtregar (Abbot)
on Mar 25, 2008 at 21:47 UTC ( #676250=note: print w/ replies, xml ) Need Help??

Comment on Re^2: A Macro System for Perl?
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?


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


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://676250]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2015-03-31 21:15 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (672 votes), past polls