Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Cache::Memcached and converting warnings to fatal

by InfiniteLoop (Hermit)
on Apr 21, 2008 at 18:14 UTC ( [id://681992]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use Cache::Memcached;
    my $memd = new Cache::Memcached {servers => ["$host:$port"]};
    my $stats = $memd->stats();
    
  2. or download this
    use warnings FATAL => 'all';
    
  3. or download this
     $SIG{'__WARN__'} = sub { die $_[0]};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://681992]
Approved by kyle
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found