Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Finding the end of a method-chain

by std3rr (Novice)
on Nov 08, 2013 at 14:05 UTC ( [id://1061715]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Finding the end of a method-chain
in thread Finding the end of a method-chain

The oneliner was just a simple reproduction of the segfault, not that I wanted to get anything else out of it.

I like the abillity to decide what to return depending on where Im at in the chain. You can have polyfunctional methods with same name returning diffrent depending on this.
Not that I 'must' do this or cant solve this programming structure/functionality in any other way(hey, this is perl ;), but I liked the ability.

It would be cool to have a "caller"-function for these chains, but as I guess the stack doesnt gets pushed an popped in the same manner, so its trickier.

  • Comment on Re^4: Finding the end of a method-chain

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-16 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found