in reply to Re^2: Perl prints only last line of array
in thread Perl not printing any special characters in array

see readline and glob, <> is used for both reaedline and glob, its not used for iterating over an array