Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Memcache 'get' returns undef running under mod_perl

by graq (Curate)
on Nov 30, 2007 at 14:58 UTC ( [id://654127]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    memcached -d -m1024 -l 127.0.0.1 -p 11211 -u root
    
  2. or download this
    PerlModule My::SSI
    <Files ~ "\.(s?html|xml)$">
    ...
      PerlOptions +SetupEnv
      PerlOutputFilterHandler My::SSI
    </Files>
    
  3. or download this
    package My::MemcacheTest;
    
    ...
      my $simple_test = $memd->get('my_test') || 'This did not work';
      print STDERR "Test Result = $simple_test\n";
    }
    
  4. or download this
    #!/usr/bun/perl
    use Cache::Memcached;
    ...
    );
    
    print "Memcached value is: ".$memd->get('my_test')." \n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 03:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found