in reply to Nested foreach problem

As has been mentioned time without number elsewhere, if nothing else, you ought to... That being said, you ...
A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: Nested foreach problem
by kyle (Abbot) on Aug 19, 2008 at 17:55 UTC

    If you're reading into an array, you always get the whole file regardless of the value of $/. Also, local alone is enough to undef $/.