File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ Apache::Session::Lock::File - Provides mutual exclusion using flock
178178
179179 use Apache::Session::Lock::File;
180180
181- my $locker = new Apache::Session::Lock::File;
181+ my $locker = Apache::Session::Lock::File->new ;
182182
183183 $locker->acquire_read_lock($ref);
184184 $locker->acquire_write_lock($ref);
@@ -218,7 +218,7 @@ method is provided for implementing that policy. You can use the C<clean>
218218method of this module to remove files unmodified in the last $age seconds.
219219Example:
220220
221- my $l = new Apache::Session::Lock::File;
221+ my $l = Apache::Session::Lock::File->new ;
222222 $l->clean('/var/lock/sessions', 3600) #remove files older than 1 hour
223223
224224=head2 acquire_read_lock
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Apache::Session::Lock::Null - Does not actually provides mutual exclusion
4343
4444 use Apache::Session::Lock::Null;
4545
46- my $locker = new Apache::Session::Lock::Null;
46+ my $locker = Apache::Session::Lock::Null->new ;
4747
4848 $locker->acquire_read_lock($ref);
4949 $locker->acquire_write_lock($ref);
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ Apache::Session::Lock::Semaphore - Provides mutual exclusion through semaphores
197197
198198 use Apache::Session::Lock::Semaphore;
199199
200- my $locker = new Apache::Session::Lock::Semaphore;
200+ my $locker = Apache::Session::Lock::Semaphore->new ;
201201 die "no semaphores" unless $locker;
202202
203203 $locker->acquire_read_lock($ref);
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ Apache::Session::Lock::Sybase - Provides mutual exclusion using Sybase
100100
101101 use Apache::Session::Lock::Sybase;
102102
103- my $locker = new Apache::Session::Lock::Sybase;
103+ my $locker = Apache::Session::Lock::Sybase->new ;
104104
105105 $locker->acquire_read_lock($ref);
106106 $locker->acquire_write_lock($ref);
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ Apache::Session::Store::File - Store persistent data on the filesystem
150150
151151 use Apache::Session::Store::File;
152152
153- my $store = new Apache::Session::Store::File;
153+ my $store = Apache::Session::Store::File->new ;
154154
155155 $store->insert($ref);
156156 $store->update($ref);
You can’t perform that action at this time.
0 commit comments