. . . while(@dat = $sth->fetchrow) { print "@dat\n"; . . .
This code works yet there is no 'my @dat' defined anywhere in the code. Using Perl 5.8.x - 5.14.x Q: Why does the variable @dat not need a 'my' in front? Cheers!
. . . while(@dat = $sth->fetchrow) { print "@dat\n"; . . .
This code works yet there is no 'my @dat' defined anywhere in the code. Using Perl 5.8.x - 5.14.x Q: Why does the variable @dat not need a 'my' in front? Cheers!