Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perldoc question for the monastary.

by Intrepid (Deacon)
on Nov 06, 2007 at 07:43 UTC ( #649163=note: print w/ replies, xml ) Need Help??


in reply to Perldoc question for the monastary.

I'll just observe that by asking for a super perldoc one-liner, it sounds to me as if the OP is asking for a feature that would be built in to Perl or one of the core modules; something that would perhaps exploit a "bound relationship" between a "tagged area" and a subroutine. However, there is no such relationship under Perl. My first thought is that the OP comes from Python and is therefore familiar with Python's docstring data. docstring makes a brief bit of function / subroutine documentation a part of a function object, a member, that is. Perl doesn't have that.


Comment on Re: Perldoc question for the monastary.
Re^2: Perldoc question for the monastary.
by rgiskard (Hermit) on Nov 06, 2007 at 14:55 UTC

    That would be correct. I was looking for, not a cpan package , but an already implemented command line; or at least confirm that it doesn't exist.

    Perldoc modules definately go the distance and implement some of the functionality bereft of the command line tool and of course make it easier to write a wrapper around perldoc (which is what I was trying to avoid).

    There are so many ways to do any one thing in perl, so I thought it a good idea to ask before giving up and wrapping. I should have phrased my question "(o_O) Is it really NOT implemented in perldoc already !?".

    *grumbles* python? lol; heretic!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://649163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2014-07-28 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (200 votes), past polls