Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

jettero's scratchpad

by jettero (Monsignor)
on Jun 04, 2004 at 03:54 UTC ( [id://360663]=scratchpad: print w/replies, xml ) Need Help??

As you can see, I'm filling the date of one object(contained in an array of such objects (ie - @$xp1 were $x is an incremented value based on the size of the array), with the date from another such array (@$xp).

Just to be clear, the array on the right is full of data that I can print, and the array on the right is full of objects that I'm able to assign to outside of the loop. I thought it could be a problem with the increment value, but I haven't been able to test it, and here's why --

If I put a print statement ahead of this line, any print statement, the problem goes away. So if I print "hello world" before executing this line in the code, the code works. I just don't get that. Please help.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found