Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: problem with endless loop

by swkronenfeld (Hermit)
on Jul 14, 2003 at 19:31 UTC ( [id://274118]=note: print w/replies, xml ) Need Help??


in reply to problem with endless loop

I downloaded your code, and couldn't spot the problem for certain (since I don't have @data_one, two, etc to look at)

Where you print out "We are in the MAIN loop", try printing out $count and $element. Since it doesn't look like $element is increasing anywhere, this should help you figure out why $count isn't ever exceeding $element.

Maybe $element isn't set correctly above? Or maybe you just have an OBOE (off by one error) with $count? I'd have to see more code to be sure...

Hope this helped,
Scot

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-23 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found