in reply to Re^2: Pearls (not really) of Perl programming
in thread Pearls (not really) of Perl programming
Hey, I've done that! ;-) But let me explain: it was a quick and dirty way of forcing the if to go one particular way during debugging. The zero is a no-op, but you can then easily turn it into a 1 when you want to force the condition to be true. I don't think it is much worse than commenting out some code.