Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 studying the Monastery: (6)
As of 2014-12-27 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls