Thread Use of implicit split to @_ is deprecated umgehen
(14 answers)
Opened by bianca at 2011-03-12 15:59 2011-03-12T15:58:19 pq Strawberry 5.10.1 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 #!/usr/bin/perl -w use strict; use warnings; my $feld7 = '3,'; print "ja\n" if @{[split /,/,$feld7]} > 1; print "ja GwenDragon\n" if ($feld7 =~ tr/,//); print "ja fuer pq was mir als die einfachste Loesung erscheint aber warnt\n" if split (/,/,$feld7) > 1; system("perl -v"); Code: (dl
)
1 >perl test.pl 10 print "Hallo"
20 goto 10 |