|
|
| P is for Practical | |
| PerlMonks |
Re: use of $_ is destroying @database ... why?by premchai21 (Curate) |
| on Sep 24, 2003 at 20:15 UTC ( #293997=note: print w/ replies, xml ) | Need Help?? |
|
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
|
|
||||||||||||||||||||