Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Array size issue

by choroba (Canon)
on Oct 15, 2012 at 17:14 UTC ( #999128=note: print w/ replies, xml ) Need Help??


in reply to Array size issue

You are printing all the lines each time. It means the output look like this:

line1 line1 line2 line1 line2 line3
These are printed as three groups (containing 1, 2 and 3 lines). The last group has 3 lines, because you push when @matches has 2 elements.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Array size issue
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2015-07-29 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls