in reply to Re^2: How to write macro in perlin thread How to write macro in perl
Take a look at Smart::Comments for debug support with macro-like abilities that disappears completely when disabled.