This has me confused...
}
This code goes into an eternal loop. Putting:
die %$rec;
..inside the loop dies with:
"Can't use undefined value as a hashref"
Eh?...surely if it is undefined the while loop should end?
Code:
while (my $rec = $sth->fetchrow_hashred) { }
This code goes into an eternal loop. Putting:
die %$rec;
..inside the loop dies with:
"Can't use undefined value as a hashref"
Eh?...surely if it is undefined the while loop should end?