Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 contemplating the Monastery: (14)
As of 2014-09-02 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls