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?
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/

Reply via email to