The number 10 appears 4 times in your description of the problem but nowhere in your code. Why is this?
Why are you loading HTTP::Request, LWP::UserAgent, LWP::Simple, etc. when you never refer to them? See Short, Self-Contained, Correct Example - these should be absent, as should your file operations. As it stands your sample code is apparently entirely unrelated to your stated problem.
Update: The OP has silently changed the parent post as opposed to How do I change/delete my post?
In reply to Re: Break Array loop
by hippo
in thread Break Array loop
by snehit.ar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |