We make extensive use of Mail::Sender in our codebase. Recently I've noticed that I can't always run the Perl debugger over such code; I've started to get messages like this:
Can't call method "opened" without a package or object reference at (e
+val 137)[/usr/local/lib/perl5/site_perl/5.8.3/Mail/Sender.pm:312] lin
+e 46, <GEN3> line 1.
Mail::Sender::DBIO::opened('Mail::Sender::DBIO=GLOB(0x99fca48)
+') called at /usr/local/lib/perl5/site_perl/5.8.3/Mail/Sender.pm line
+ 160
Mail::Sender::send_cmd('Mail::Sender::DBIO=GLOB(0x99fca48)','e
+hlo xifos.nexcerpt.com') called at /usr/local/lib/perl5/site_perl/5.8
+.3/Mail/Sender.pm line 180
Mail::Sender::say_helo('Nexcerpt::Mailer=HASH(0x996f3d0)','Mai
+l::Sender::DBIO=GLOB(0x99fca48)') called at /usr/local/lib/perl5/site
+_perl/5.8.3/Mail/Sender.pm line 922
Mail::Sender::Connect('Nexcerpt::Mailer=HASH(0x996f3d0)') call
+ed at /usr/local/lib/perl5/site_perl/5.8.3/Mail/Sender.pm line 1326
Mail::Sender::OpenMultipart('Nexcerpt::Mailer=HASH(0x996f3d0)'
+,'HASH(0x993c4a0)') called at /home/nexcerpt/Nexcerpt/Mailer.pm line
+434
And yep, I know that "Nexcerpt::Mailer" isn't the same as a "Mail::Sender" object; we subclass it here.
| -- |
| Jeff Boes |
| Database Engineer |
| Nexcerpt, Inc. |
|
|
|
...Nexcerpt...Connecting People With Expertise
|
Edit by castaway: swapped pre tags for code tags
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.