/*
=head1 NAME
Page - A base class for all HTML pages.
=cut
*/
class Page {
/*
=head2 Page()
The constructor for the Page object. Pass in the args, etc, etc.
=cut
*/
function Page() {
... do PHP stuff here...
}
...
So it's PHP but it has POD embedded in it within PHP multiline comments. So then you can run perldoc on the PHP file, and kazaam you get a nice POD document on the screen. I have no idea why this never occurred to me before, the solution is so simple it's pure genius
Pod in non-Perl uses (Score:2)