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

jettero's scratchpad

by jettero (Monsignor)
on Jun 04, 2004 at 03:54 UTC ( #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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-05-24 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (471 votes), past polls