Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://649163]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-06-25 16:23 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (127 votes). Check out past polls.