[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Perl 6 //



Perl 6's // operator sure would be handy to have... Instead of 

  my $store_RatesAvail = 1;
  if (defined $args{store_RatesAvail}) {
     $store_RatesAvail = $args{store_RatesAvail}; 
  }

I could have typed

  my $store_RatesAvail = $args{store_RatesAvail} // 1;

j