[pm-h] July Meeting
Todd Rinaldo
toddr at null.net
Tue Jul 22 07:31:39 PDT 2008
ok so someone explain these operators, cause obviously I shoulda read
the whole camel book!
Here is what I've always had to do the hard way. what's the simpler?
I often do this
sub foo {
my $value = shift;
$value = "some sorta default" if(!defined $value);
}
Of course sometimes I want to do the permutation:
sub bar {
my $value = shift;
$value = "some sorta default" if(!$value);
}
is there a simpler way?
More information about the Houston
mailing list