News for hackers. Stuff that matters.
Re:The four noisy horsemen of Perl hate by forgotmypw17 on Thursday July 22, 2021 @12:04AM (#27915219)

    my $house = shift;
    my $color = shift;

    if (!$color) {
        $color = GetDefaultHouseColor();
    }
Re:The four noisy horsemen of Perl hate by knightcrusader on Tuesday July 27, 2021 @01:31PM (#27975125)
Even easier than that:

  my $house = shift;
  my $color = shift // GetDefaultHouseColor();