"Fossies" - the Fresh Open Source Software Archive

Member "Apache-Session-1.93/b/dbinew.b" (15 Sep 2009, 201 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::File;
    2 
    3 use Benchmark;
    4 
    5 sub dotie {
    6     my $hashref;
    7     tie %$hashref, 'Apache::Session::File', undef, {Directory => '/tmp'};
    8 }
    9 
   10 timethis(100000, \&dotie, 'Construct 100k');
   11