Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

Matts
  (email not shown publicly)

I work for MessageLabs [messagelabs.com] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Thursday August 08, 2002
06:01 AM

Proxy Objects

[ #6975 ]

Perl.com has published my article on Proxy Objects where I talk about how they can be used to build circular referencing data structures but still allow them to be garbage collected. Let me know if you find it interesting or crappy ;-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I guess I'll have to vote for interesting, I learn a couple of things:

    • using Devel::Peek to get the refcount of variables,
    • that weaken is included in Scalar::Util, I always used it from WeakRef, is there a difference in the 2 versions BTW?

    The final "let's wrap it all up in one nice package that works with all versions of Perl" is very cool too.

    --
    mirod
  • Though I haven't got a clue what "true Blue Peter fashion" means.
    • In the UK we have a kids educational TV magazine show called Blue Peter (no idea if it still runs or not, but it had been running for over 30 years when I was a kid). They would do both crafts and cooking, and half way through to save time they would magically pull out from under the table a finished version, saying: "And here's one we made earlier".

      Hence my hand-waving, and the saying.