Hello Monks,

Any ideas about this error.


Software error: Can't locate object method "newFromJpeg" via package "GD::Image" at /u/web/dom/cgi-local/thumbnail.cgi line 47.


using Perl Version 5.006 , GD version 1.32 and says it requires perl version 5.004

The GD.pm module is located in my local cgi-local bin not the main perl library using this code.

unshift @INC, '/u/web/dom/cgi-local';

looks like IRIX for UNIX

u/sybase/OpenClient/IRIX64/1250/OCS/bin:/u/sybase/OpenClient/IRIX64/12 +50/OCS/install:/u/sybase/OpenClient/IRIX64/1111/bin:/u/sybase/OpenCli +ent/IRIX64/1111/install:/u/sybase/OpenClient/IRIX64/1004/bin:/u/sybas +e/OpenClient/IRIX64/1004/install:/bin:/sbin:/usr/sbin:/usr/bsd:/usr/b +in:/u/httpd/bin:/usr/local/msql/bin:/u/bin:/usr/local/bin:/usr/etc:/u +/qmail/bin

edit (broquaint): added <code> tags


In reply to Can't locate object method by cal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.