Doug MacEachern writes:
there's no limit the number of cleanups you can register, but i would
still push the sub {}'s into an array and register a single cleanup to
iterate over them.
you're right that wasn't the problem, I was passing the same
Image::Magick reference to each subroutine,
On Tue, 6 Jun 2000, Jim Woodgate wrote:
In a module I'm using register_cleanup so the client doesn't need to
wait for me to do a bunch of work. It basically does this:
foreach (@images) {
unless (-f $thumb{$_}) {
create_thumb($_);
$r-register_cleanup(sub
-Original Message-
From: Jim Woodgate [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 9:48 AM
To: [EMAIL PROTECTED]
Subject: $r-register_cleanup limits?
In a module I'm using register_cleanup so the client doesn't need to
wait for me to do a bunch of work. It