Menu

#1 How to parse non pm files ?

open
None
5
2003-01-23
2002-12-18
No

Hi,
I'm so happy to use pdoc for my modules
documentations that I want to use it for other perl files
(cgi,classical perl script).
To do that, I put a new filter in the perlmodwww.pl but
the program still don't want to parse cgi and pl files
because it can not find the string "package" in the files

What can I do ?

thanks

Discussion

  • Raphael Leplae

    Raphael Leplae - 2003-01-23

    Logged In: YES
    user_id=293029

    So far Pdoc and perlmod2www.pl don't support scripts. I
    guess it would be relatively easy to extend the current library
    to handle that.
    The Pdoc::Parsers::Files::PerlScript,
    Pdoc::Html::Converters::PerlScript and
    Pdoc::Html::Renderers::PerlScript modules should be written
    and perlmod2www.pl should take care of decision making on
    which one to use (it sould be called perl2www.pl at that
    point ;-) ).
    I hope to be able to work on these at some point.
    Cheers.

    Raphael

     
  • Raphael Leplae

    Raphael Leplae - 2003-01-23
    • assigned_to: nobody --> merlinor
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.