Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Accessing a scalar value in another subroutine?

by Anonymous Monk
on Sep 23, 2012 at 20:25 UTC ( #995246=note: print w/ replies, xml ) Need Help??


in reply to Re: Accessing a scalar value in another subroutine?
in thread Accessing a scalar value in another subroutine?

To my eyes, this sound like the most fatuous piece of O'Woe (Order of Worshipful Over Engineers) rubbish I've seen in a long time.

Considering that both Python and Common Lisp employ docstrings for the users of a class, I don't think "rubbish" would be an accurate term to describe my aspiration. I was merely asking if it was possible since a series of if/elsif/else constructs would have been less than elegant.


Comment on Re^2: Accessing a scalar value in another subroutine?
Replies are listed 'Best First'.
Re^3: Accessing a scalar value in another subroutine?
by BrowserUk (Pope) on Sep 23, 2012 at 20:26 UTC
    Considering that both Python and Common Lisp employ docstrings for the users of a class,

    Could you demonstrate an example of their use?


    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.

    RIP Neil Armstrong

Re^3: Accessing a scalar value in another subroutine?
by Anonymous Monk on Sep 24, 2012 at 09:38 UTC
    don't feed the trolls!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-07-28 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls