logo       

Re: CGI::Uploader - strange error with the closure. I think: msg#00094

Subject: Re: CGI::Uploader - strange error with the closure. I think
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/cgiapp@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe