Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: CGI Coding Problem on Subloop

by japhy (Canon)
on Jun 17, 2006 at 21:00 UTC ( [id://556020]=note: print w/replies, xml ) Need Help??


in reply to CGI Coding Problem on Subloop

The problem is that @subloop is the same array each time. Instead of @subloop = ();, use my @subloop;. Either that, or change $items{_ITEMS} = \@subloop; to $items{_ITEMS} = [@subloop];.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found