in reply to
Re: Calling multi functions in a single statement
in thread Calling multi functions in a single statement
That sounds good. But from what you said I believe that there should be more than one XML_file subroutine so that once an object is returned by get_log_records() it could decide on which Package it should call XML_file().
Now if that is true, I found that the subroutine XML_file is only in one package and not in any other.
So does that make any sense in executing $logviewer->get_log_records()->XML_file(); . It could have rather just been written as