http://www.perlmonks.org?node_id=710656


in reply to Can't locate object method "image_jpg"

Hi ndnalibi,

You mistyped the image_jpeg method as image_jpg (missing the e) in your second call the the method, or am I missing anything?

  • Comment on Re: Can't locate object method "image_jpg"

Replies are listed 'Best First'.
Re^2: Can't locate object method "image_jpg"
by jvector (Friar) on Sep 11, 2008 at 17:56 UTC
    themage : That's correct. You didn't miss asomething. jpg ne jpeg has bit me before as well.
      Thanks so much. I guess it's true that sometimes you're too close to the problem to see the obvious.
        If I ever made something with a foo_jpg method it wd probably be wise to make a foo_jpeg alias for it!

        I've been noticing how in Date::Time you can say ->mon or ->month, ->min or ->minute, etc. Sound defensive development ;-)