Thread Use of implicit split to @_ is deprecated umgehen (14 answers)
Opened by bianca at 2011-03-12 15:59

FtR
 2011-03-12 16:42
#146418 #146418
User since
2003-08-20
39 Artikel
BenutzerIn
[default_avatar]
Hab grad kein Perl an der Hand aber


"perldoc -f split" Enthält folgenden satz

In scalar context, returns the number of fields found.


Also sollte
Code (perl): (dl )
print "ja" if  (scalar(split(",",$feld7)) > 1);


auch tun

FtR
Last edited: 2011-03-12 17:06:45 +0100 (CET)
Code: ()
1
2
print&f(($_=(3x3)."3+33")=~s=3(?![^3]|$)=&f=eg);
sub f{eval(@_?$_:"'$&+'x3");}

View full thread Use of implicit split to @_ is deprecated umgehen