Thread wantarray und return undef (20 answers)
Opened by rosti at 2012-02-10 13:15

Linuxer
 2012-02-10 21:39
#156047 #156047
User since
2006-01-27
3875 Artikel
HausmeisterIn

user image
Das ist übrigens auch in der Perldoc so (ähnlich) beschrieben:

perldoc -f return
... If no EXPR is given, returns an empty list in list context, the undefined value in scalar context, and (of course) nothing at all in void context.


http://perldoc.perl.org/functions/return.html
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread wantarray und return undef