in reply to Re^3: A cleaner way of scoping variables
in thread A cleaner way of scoping variables

See also Strange behaviour when returning the value of "do {}" - possible perl bug? for an example when someone is actually bitten by this bug.

See also Twin-lines japh for an obfu where I use a perl feature somewhat similar to this bug.

Update 2008 jan 16: yet another monk bitten by this bug: unless versus if ( ! ) inside a subroutine.

Update 2008 nov 3: see also Re^2: When doesn't the flip-flop operator work in all scalar contexts?.

Update 2009-06-23: and another: return if 0.

  • Comment on Re^4: A cleaner way of scoping variables