in reply to Perl not printing any special characters in array

What do you think  foreach(<@node>) does?

Replies are listed 'Best First'.
Re^2: Perl prints only last line of array
by myfrndjk (Sexton) on Jun 22, 2014 at 10:54 UTC

    Hi, I am new to PERL.What I thought is for every url I have to open new HTML.Now I understood it works for every line.So it replaced all the previous words and left the last line.Correct me if I am wrong. Thanks jk

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