in reply to Re^2: How to distinct the call position of a sub?
in thread How to distinct the call position of a sub?

I wouldn't use an iterator unless someone forced me to. My point was that there is plenty of working code on the CPAN that we can look "under the hood" at. Do they use caller() to achieve their goals? Did they run into the same problem or did they cirsumvent the problem altogether?

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^4: How to distinct the call position of a sub?
by LanX (Saint) on Nov 24, 2008 at 20:56 UTC
    well I have no problem to learn from others, but as I already said
    1. iterators are just one application for this "call position" problem
    2. I'm looking for a all-in-one iterator, combining the generator-syntax within.

    so please, could you point me to a modul on cpan that doesn't use separate generators and iterators? I'd be glad to "look under the hood" and explain their technique in detail.

    Cheers Rolf