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

[Omaha.pm] 1 night vs. 17 nights



Oh, that's a neat little hack:

   my $nights_text = ($nights == 1) ? 'night' : 'nights';
   $html .= "$rate $currency per night starting $date_text for $nights $nights_text.<br>";

j