Jeff MacDonald wrote:
Closures still kind of hurt my brain.. not their fault tho, it took me
5 years to understand hashes.. [I kid, but you get the point :)]

Anyways, this error only seems to happen on one of my machines. I've
taken my application and trimmed it down to the minium so you can see
the error happen.

Take a gander over here :

http://www.equipmentsearch.com/jeff/

And run public.cgi you'll see what's happening.

Ideas ? I've upgraded perl and reintstalled many modules.

I'm not sure what happens. It looks like eval{} is somehow /really/ dying, instead of capturing the death. I removed the return value of eval{}, and code does look OK.

Try removing this from line 60 of Magick.pm:

or (eval {$first_arg->can('gen_thumb')})

It seems like an extra check that may not be necessary.

I should also add that I've found Image::Magick to be buggy in the past, having a number of regressions with new releases. (Although I don't see a direct indication of that here. ). However, if you aren't running identical versions of Image::Magick on your machines, I would be suspicious.

Although I found it a little more difficult to install Graphics::Magick has been more stable when I tried it, and is API-compatible, at least in this case.

   Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to