I can't see how it relates to the error you describe unless there are earlier errors you don't describe, but the line:

$VERSION = 0.9;

in the Syringe code shouldn't compile. That would prevent Syringe loading and would generate compile errors (but not the error you describe).

Failing that being helpful you'll need to provide enough code to reproduce the problem. I suggest removing everything from Syringe that doesn't affect the problem and if that doesn't turn on a light for you post the result here. Note in particular that you should remove references to other modules first!

True laziness is hard work

In reply to Re: Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did! by GrandFather
in thread Can't locate object method "new" via package ... perhaps you forgot to load...Oh yes I did! by Phemto

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.