ExtUtils::XSBuilder::PODTemplate man page on Fedora
[printable version]
XSBuilder::PODTemplateUser Contributed Perl DocumentaXSBuilder::PODTemplate(3)
NAME
$module
FUNCTIONS
} ;
}
#
--------------------------------------------------------------------------
sub gen_pod_func
{
my ($self, $objclass, $obj, $method, $args, $retclass, $ret, $comment, $since) = @_ ;
my $argnames = join (',', map { $_ -> {name} } @{$args}[($objclass?1:0)..$#$args]) ;
my $rettext = $retclass?'$ret = ':'' ;
my $objtext = $objclass?"$obj -> ":'' ;
my $data = qq{
\@func: $method()
$rettext$objtext $method($argnames)
} ;
foreach $arg (@$args)
{
$data .= qq{
\@param: $arg->{class} $arg->{name}
$arg->{comment} } ;
}
if ($retclass)
{
$data .= qq{
\@ret: $retclass
$retcomment } ;
}
$data .= qq{
\@since: $since
$comment
} ;
return $data ;
}
#
--------------------------------------------------------------------------
sub gen_pod_struct_member
{
my ($self, $objclass, $obj, $memberclass, $member, $comment, $since) = @_ ;
qq{
\@func: $member()
\$val = $obj -> $member(\$newval)
\@param: $objclass $obj
\@param: $memberclass \$newval
} .
($since?"=item \@since: $since\n\n":'') .
qq{ =back
$comment
} ;
}
1;
POD ERRORS
Hey! The above document had some coding errors, which are explained
below:
Around line 57:
You can't have =items (as at line 65) unless the first thing after
the =over is an =item
perl v5.14.0 2004-04-02 XSBuilder::PODTemplate(3)
[top]
List of man pages available for Fedora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|