Where $newsub is an object, the following fails to work as I expected it to:

$logger->info("Created sub->", $newsub->ptn);

Since my log is a text file, this yields the following line in the file:
2010/05/10 16:38:59 INFO> cmsIMsubs-S.pl:176 main::getSubs - Created sub->CMS::Schema::Result::Subscription=HASH(0x96b9164)->ptn

In case it's not obvious, I'd like to log the phone number, not what type of object I'm looking at.

TIA

<<attachment: steve.vcf>>

------------------------------------------------------------------------------

_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to