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.
|
|---|