I've wondered about creating a TieResources module that would do all this behind the scenes for you. There's a similar routine in ActivePerl for Win32 called Win32::TieRegistry that automates a bunch of the dirty work of playing with the you-know-what on that platform, so it certainly seems like TieResources should be possible. I've brought my copy of Advanced Perl Programming in to work today just in case I run out of things to do and can play with Tie a little (not that that's very likely, mind you). -- Creede -----Original Message----- From: Chris Nandor [mailto:pudge@pobox.com] Sent: Tuesday, July 27, 1999 3:25 AM To: joseph@5sigma.com Cc: Joshua Juran; Creede Lambard (Volt Computer); macperl@macperl.org Subject: RE: [MacPerl] Resource file hacking with MacPerl At 1.46 -0400 1999.07.27, Joseph N. Hall wrote: >The somewhat unnerving behavior is that if you call OpenResFile >and don't match it up with CloseResFile, the resource file is >still open as long as MacPerl is still running! YIKES! Yep, it is a pain in the arse, and you have to be careful. What might be useful would be an OOP interface with a DESTROY method that closes it automatically when you're done. ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org