January 2008 Archives

For me, one of the biggest problems with figuring out MT is figuring out what what in the @_ array. This little function may be useful for others who are in bad shape like me, to use as a skeleton for figuring out what is being passed to their functions by the MT framework. All of it goes into the system activity log.

sub debug{
    require MT;
    my $index = 0;
    foreach my $item (@_) {
        MT->log({message => $index++ . " " . ref($item)});
    }
}

About this Archive

This page is an archive of entries from January 2008 listed from newest to oldest.

December 2007 is the previous archive.

March 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.