"Fossies" - the Fresh Open Source Software Archive

Member "Apache-Session-1.93/b/flexpop.b" (15 Sep 2009, 278 Bytes) of package /linux/www/Apache-Session-1.93.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Limbo source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 use Apache::Session::Flex;
    2 use Benchmark;
    3 
    4 $hashref = {
    5     args => {
    6         Store => 'DBI',
    7         Lock  => 'Semaphore',
    8         Generate => 'MD5',
    9         Serialize => 'Storable',
   10     }
   11 };
   12 
   13 sub foo {
   14     Apache::Session::Flex::populate($hashref);
   15 }
   16 
   17 timethis(-10, \&foo, 'Construct 100K');