Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Managing capture

by jbert (Priest)
on Feb 19, 2013 at 12:55 UTC ( #1019541=note: print w/replies, xml ) Need Help??


in reply to Re^3: Managing capture
in thread Managing capture

Yes, that would work. However, the drawbacks of this to me are:

  1. the check happens at runtime, not compiletime
  2. it requires each method taking a callback to implement the cycle check. that might be in 3rd party code and so require additional wrapping etc.

Replies are listed 'Best First'.
Re^5: Managing capture
by Anonymous Monk on Feb 19, 2013 at 13:22 UTC

    ...

    Yup,

    otoh, its cheap check (cheaper than universal competence )

    and simpler to write than a pragma like autovivification -- have you looked at that thing? it walks the perl op-tree using c --- scary :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019541]
help
Chatterbox?
[ww]: Wonder what IEEE would have thought w/survey based on PM/perl
[ww]: s/thought/found/
[erix]: that title is a broken* sentence, no? But maybe that's deliberate
[karlgoethebier]: ww:My first thought, to be honest...
[erix]: and those authors' names don't look like native english speakers. Then again, neither am I :)
[karlgoethebier]: but the set of test persons is very small, like in medical studies: "We analyzed 50..."

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2017-09-25 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?