http://qs321.pair.com?node_id=577160


in reply to Re^2: Making my own control flow structure
in thread Making my own control flow structure

ok, so how about this:
if ($condition) { &doAction; } else { print "doAction not executed due to a failure of $condition\n"; }
if you have a whole bunch of $conditions then you could easily pregenerate the codeblock. cool, dynamic code... !