Object instatiation query

For complex reasons involving trying to Do The Right Thing when a message
comes back into RT with a tag in the subject line but Cced to another RT
Queue address, I’m attempting to build a custom version of rt-mailgate.

However I’m running into some curious oddities.

For one, I’m trying to determine the name of the queue associated with the
tag with $Ticket->QueueObj->Name(). Sometimes this works (with exactly
the same tag and input message) and sometimes it doesn’t. Or more
accurately it doesn’t work for long stretches (returning undef) and then
starts working, making me suspect that something is causing the values to
become cached somewhere - is there some lazy evaluation going on?

Similarly $Ticket->QueueObj->AdminCcAsString().

Anyone with any insight? I’m not too hot on object inheritance, so
picking through the code is proving to be slow going which I could happily
avoid if you do have some to share.