Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Perl prints only last line of array

by myfrndjk (Sexton)
on Jun 22, 2014 at 10:54 UTC ( [id://1090824]=note: print w/replies, xml ) Need Help??


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

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

  • Comment on Re^2: Perl prints only last line of array

Replies are listed 'Best First'.
Re^3: Perl prints only last line of array
by Anonymous Monk on Jun 22, 2014 at 19:49 UTC
    see readline and glob, <> is used for both reaedline and glob, its not used for iterating over an array

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1090824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found