Thread Argumente/Parameter wo prüfen ?
(19 answers)
Opened by der_thomas at 2014-09-15 18:44 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 sub machwas { my $self = shift; my $parm = shift; die 'Parameter of ' . __PACKAGE__ . '->machwas() must be between 0..9' if $parm<0 or $parm >9; #d machdies und das } |