/usr/share/doc/libcgi-session-perl/examples/purge.pl is in libcgi-session-perl 4.48-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/perl
# $Id$
#
# This script can be installed as a cron-job to run at specific intervals
# to remove all expired session data from disk
#
use constant DSN => 'driver:file';
use constant DSN_ARGS => {};
use CGI::Session;
CGI::Session->find( DSN, sub {}, DSN_ARGS ) or die CGI::Session->errstr;
|