From: "JupiterHost.Net" <[EMAIL PROTECTED]>
> Jenda Krynicky wrote:
> > From: "JupiterHost.Net" <[EMAIL PROTECTED]>
> >
> >>Is there an easy way to view the POD from a local module in a
> >>browser to see what it will look like in CPAN?
> >
> >
> > I would generate the HTML file by the pod2html script and then look
> > at the created file.
> >
> > pod2html --infile=The/Module.pm --outfile=The/Module.html
>
> The trick is, if I do that the html is the pod for pod2html.
>
> It doesn't seem to like .pm files, only .pod :(
That's strange. Within the makeppd script I use to create the PPM
distributions I call the pod2html like this:
pod2html.bat "-htmlroot=." "$file.pm" "-outfile=$file.html"
where $file is eg "Sender". And I do get the right docs.
How exactly do you call the script? Could you post your module?
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>