in reply to Accessing a scalar value in another subroutine?
I'm writing an OO perl program and I would like to create a "docstring", which describes the purpose of the method, then in a help method, access the docstring of each respective method
What is the purpose? Who are you providing this help to?
Are you suggesting that for a programmer -- who else would use this information -- to get help on how to use a particular method in their program, they first write another program that calls the help method with the name of the method they actually want to call?
Why would anyone do this rather than just look up the documentation; or -- heavens forfend -- look at the source?
To my eyes, this looks like the most fatuous piece of O'Woe (Order of Worshipful Over Engineers) rubbish I've seen in a long time.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Accessing a scalar value in another subroutine?
by Anonymous Monk on Sep 23, 2012 at 20:25 UTC | |
by BrowserUk (Patriarch) on Sep 23, 2012 at 20:26 UTC | |
by Anonymous Monk on Sep 24, 2012 at 09:38 UTC | |
Re^2: Accessing a scalar value in another subroutine?
by LanX (Saint) on Sep 23, 2012 at 20:38 UTC | |
by BrowserUk (Patriarch) on Sep 23, 2012 at 21:14 UTC | |
by LanX (Saint) on Sep 23, 2012 at 21:41 UTC | |
by BrowserUk (Patriarch) on Sep 23, 2012 at 21:54 UTC |
In Section
Seekers of Perl Wisdom