Leser: 2
8 Einträge, 1 Seite |
1
2
Scalar Value @first better written as $second
use of uninitalized value within @first in print
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
use strict; use warnings; use List::Util 'shuffle'; use Tie::File; my @first; my @second; my @third; my @fourth; tie @first, 'Tie::File', "first.txt" or die "Can not open file 1!"; @first=shuffle(@first); tie @second, 'Tie::File', "second.txt" or die "Can not open file 2!"; @second=shuffle(@second); tie @third, 'Tie::File', "third.txt" or die "Can not open file 3!"; @third=shuffle(@third); tie @fourth, 'Tie::File', "first.txt" or die "Can not open file 4!"; @fourth=shuffle(@fourth); print @first[0]; print " "; print @second[0]; print " "; print @third[0]; print " "; print @fourth[0];
Vermillion+2009-01-09 11:44:21--Code: (dl )Scalar Value @first better written as $second
pqdas kauf ich dir jetzt nicht ab =)
8 Einträge, 1 Seite |