Perl Documentation like Javadoc

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default Perl Documentation like Javadoc

    I would like to generate methof/subroutine related documentation for a Perl
    project that I have just finished.
    What is the best way of doing it ? can you also specify which
    commands/executables to use for this ?

    Viraj B. Purang

    Viraj Purang Guest

  2. Similar Questions and Discussions

    1. Documentation
      :moon; I inheirited a mess of CFM pages. I have been asked to document then, what databases/tables they access and what other webpages they use....
    2. looking for program to generate documentation for perl modules
      I'm looking for program to generate documentation for perl modules like "doxygen" for C. does something like this exist? I need to make...
    3. Like javadoc
      Hello, is there a documenter system like javadoc for ruby? Thank you, Andre' -- © André Wagner - 2003 - All rights reserved
    4. documentation...
      Hello, I am now working on a complex web application. The problem is: my boss wants me to document the application, but I don't know how to...
    5. I need documentation to AIX..
      .... PW piter@pro.onet.pl
  3. #2

    Default Re: Perl Documentation like Javadoc

    On Feb 10, 2004, at 2:51 PM, Viraj Purang wrote:
    > I would like to generate methof/subroutine related documentation for a
    > Perl
    > project that I have just finished.
    > What is the best way of doing it ? can you also specify which
    > commands/executables to use for this ?
    Perl's Javadoc-like cousin is called POD. You can read about it with
    this command:

    perldoc perlpod

    James

    James Edward Gray II Guest

  4. #3

    Default Re: Perl Documentation like Javadoc


    > On Feb 10, 2004, at 2:51 PM, Viraj Purang wrote:
    >
    > > I would like to generate methof/subroutine related documentation for a
    > > Perl
    > > project that I have just finished.
    > > What is the best way of doing it ? can you also specify which
    > > commands/executables to use for this ?
    >
    > Perl's Javadoc-like cousin is called POD. You can read about it with
    > this command:
    >
    > perldoc perlpod
    >
    > James
    You may also be interested in OODoc, haven't used it personally, but
    Mail::Box is a pretty impressive example of it:

    [url]http://search.cpan.org/~markov/OODoc-0.10/lib/OODoc.pod[/url]

    Conveniently written by the guy that leads Mail::Box development.

    [url]http://danconia.org[/url]

    Wiggins D Anconia Guest

  5. #4

    Default Re: Perl Documentation like Javadoc

    Speaking of documentaiton, is there any structured
    approach to documenting the get/post parameters for a
    perl web page?

    I have a main menu type of of page I have inherited.
    The GUI designer is not a programmer seems to have a
    strong preference buttons instead of links or drop
    down menus.

    Each push button represents another target page which
    has its own set of get/post parameters which require
    its own, sometimes conflicting, hidden HTML fields.
    The code is SOOOOO ugly because the previous
    programmers had no naming conventions and did not
    understand SQL.

    Is there any structured approach to say:

    These hidden variables are for these destinatino
    pages. These are the get/post parameters for this
    page, etc...?

    and
    Here are the get/post params this page needs?

    Javadoc won't even help me with this (if I was using
    Java).

    Siegfried

    __________________________________
    Do you Yahoo!?
    Yahoo! Finance: Get your refund fast by filing online.
    [url]http://taxes.yahoo.com/filing.html[/url]
    Richard Heintze Guest

  6. #5

    Default Re: Perl Documentation like Javadoc

    Richard Heintze wrote:
    > Speaking of documentaiton, is there any structured
    > approach to documenting the get/post parameters for a
    > perl web page?
    >
    > I have a main menu type of of page I have inherited.
    > The GUI designer is not a programmer
    That is as it should be. GUI design should be focused on offering a natural
    experience to
    the user, and internal technical considerations should be secondary at that
    level of abstraction.
    That being said, multi-tier development projects do require clarity and the
    interfaces between tiers.
    > seems to have a
    > strong preference buttons instead of links or drop
    > down menus.
    Can you explain what, in terms of information, is missing from the buttons that
    would show up in the
    links or menu items?

    What kind of information is being gathered here? What is the overall purpose of
    the system?
    >
    >
    > Each push button represents another target page which
    > has its own set of get/post parameters which require
    > its own, sometimes conflicting, hidden HTML fields.
    > The code is SOOOOO ugly because the previous
    > programmers had no naming conventions and did not
    > understand SQL.
    The question I see at this point is:
    What is the scope of the project? Are you doing a restructure of the system as
    a whole?

    If so, then I would suggest starting out by developing a Data Dictionary for the
    overall system.
    By doing this, you can ensure from the start that there is a common protocol and
    a common set of
    identifiers meaning the same thing throughout the system.
    >
    >
    > Is there any structured approach to say:
    >
    > These hidden variables are for these destinatino
    > pages. These are the get/post parameters for this
    > page, etc...?
    >
    > and
    > Here are the get/post params this page needs?
    This sounds like a question of system design.
    There are indeed a number of tools and conventions available to use in defining
    or describing
    a project and the role of each element in the context of the system as a whole.
    Unfortunately,
    you are not sharing the kind of detail that would help us steer you in the right
    direction for your
    needs. You seem more to be venting frustration--very understandable, but not
    immediately
    constructive.

    For what it's worth, Perl will function very well in handling CGI form input, no
    matter how bad
    the naming convention in the HTML may be. A string is just a string, to Perl.
    If you are not
    ready to, or in a position to, do a global restructure, I would advise doing a
    data dictionary for
    your own use, possibly with a table correlating the name and value strings of
    the HTML with
    the internal names of corresponding variables in your CGI layer. Although it
    can certainly be
    convenient to have the strings correspond across all layers of your system, it
    is by no means
    mandatory. You may have to just work with what you have.
    >
    >
    > Javadoc won't even help me with this (if I was using
    > Java).
    >
    > Siegfried
    Something you should understand about multi-tier systems--a large degree of
    independence
    between the layers is part of the plan. There should be clearly defined
    interfaces between
    the layers, definitely. Still, the internal structure of each layer should be
    focused on the needs
    of that layer. Tight coupling between the layers in a multitier processing
    system is likely to
    hobble each in performance of its work

    Joseph

    R. Joseph Newton Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139