in reply to Macro in perl code?

None suggested to take care that print(ARGS) if COND has a side-effect: if COND is false ARGS will not be evaluated.

This can make things faster, but see:

sub verb { 1 } my $x = 1; print "debug ".$x++."\n" if verb;
in this case, like in many others, by evaluating or not the args of print, means the value of $x is or isn't changed.

Oha