my $value = shift || 'defaultValue'; # ev. achtung auf 0... warte ungeduldig auf // bzw. //= # oder $value ||= 'defaultValue'; # ev. achtung auf 0