Re: $r-register_cleanup limits (Problem Solved)

2000-06-10 Thread Jim Woodgate
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,

Re: $r-register_cleanup limits?

2000-06-09 Thread Doug MacEachern
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

$r-register_cleanup limits?

2000-06-06 Thread Jim Woodgate
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 {create_more_sizes($_, ...)}); } } create_more_sizes will create

RE: $r-register_cleanup limits?

2000-06-06 Thread Geoffrey Young
-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