Hi!
I have an error when running DeleteSessionID.pl (cron job), hier an
extract....
# bin/DeleteSessionIDs.pl --expired
DeleteSessionIDs.pl - delete all existing or expired session
ids
Copyright (c) 2002 Martin Edenhofer
Delele all expired session ids:
Use of uninitialized value at
/usr/opt/OpenTRS/bin/..//Kernel/System/AuthSession/IPC.pm line 324.
It is -- if (!$String) { --
line in this excerpt as I understood...
my $Self = shift;
my %Param = @_;
my @SessionIDs = ();
# --
# read data
# --
my $String;
shmread($Self->{Key}, $String, 0, $Self->{IPCSize}) || die "$!";
if (!$String) {
return;
}
# --
# split data
# --
I have Perl v5.6.1 built for i386-openbsd. Sorry but I am new at Perl... 8)
Can someone help me?
regards,
Thomas W. Horna