Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I want to trap such warnings as errors (so I can eval/die in my code) What is the return value from stats() when the warning is thrown? Is it logically false? If so, you can say use Fatal qw(Cache::Memcached::stats);Of course, if this works, you can equally well say my $stats = $memd->stats() or die;and since you aren't doing that, I guess your failed stats() calls have been returning true values. I would file a bug report. In reply to Re: Cache::Memcached and converting warnings to fatal
by Narveson
|
|