
Originally Posted by
nickp666
I am presently developing some plugins for WHM, but am unable to find any documentation whatsoever on any of the Whostmgr:: perl modules, I have managed to cobble a few things together by looking at chirpys work but dont know where to look for docs on the methods available.
For example, im looking for a list of methods for: Whostmgr::HTMLInterface
Does anyone know where I can find this info out?
TIA
Perl methods look like:
Thus, looking at all the lines that start with sub will give you a list of methods. As for parameters, those are usually just underneath the method name, like:
Code:
my( $self, $one, $two) =@_;
or
Code:
my $self = shift;
my $one = shift;
my $two = shift;
where $one and $two are the arguments you provide and [b]$self[/$b] is a reference to the object (not all will have $self).
UPDATE:
As for documentation itself, that is what the code is for.