I'm getting the following error:
"Can't call method "date" on an undefined value at ..."
on the following line:
"$$xp1[$x]->date($$xp[$x]->date);"
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.
Update: Scratch the question - the act of posting the question clarified the issue and I solved it. thanks anyway.
Original content restored by GrandFather
In reply to a really odd thing .. by cntrtrst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |