|
|
| XP is just a number | |
| PerlMonks |
Re: use of $_ is destroying @database ... why?by premchai21 (Curate) |
| on Sep 24, 2003 at 16:15 UTC ( [id://293997]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
While I haven't tested this in detail, it would seem to me that your usage of while (<T>) in load_tbls is clobbering $_, which is aliased to an entry in @database. Thus, when the while loop exits, $_ is undefined (the exit condition).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||