File: dbinew.b

package info (click to toggle)
libapache-session-perl 1.94-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 448 kB
  • sloc: perl: 1,514; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
use Apache::Session::File;

use Benchmark;

sub dotie {
	my $hashref;
	tie %$hashref, 'Apache::Session::File', undef, {Directory => '/tmp'};
}

timethis(100000, \&dotie, 'Construct 100k');