in reply to Re: Control Structures
in thread Control Structures

A clearer control default values like my $var ||= $default without the 0 value gotcha.

The newest development versions of perl have a "defined-or" operator //, so the //= operator does that. There's even a patch you can apply to perl-5.8 to have that operator. The only sad part is that we'll have to wait a while until it's widely available for general use.