Yeah... thx :)
Thomas W. Horna >-----Original Message----- >From: Martin Edenhofer [mailto:[EMAIL PROTECTED]] >Sent: Thursday, December 12, 2002 1:11 AM >To: [EMAIL PROTECTED] >Subject: Re: [otrs] Use of uninitialized value at >.../bin/..//Kernel/System/AuthSessi on/IPC.pm line 324. > > >Hi Thomas, > >On Wed, Dec 11, 2002 at 08:40:38PM +0100, Horna, Thomas wrote: >> I have an error when running DeleteSessionID.pl (cron job), hier an >> extract.... >> >> # bin/DeleteSessionIDs.pl --expired >> DeleteSessionIDs.pl <Revision 1.5> - delete all existing or >expired session >> ids >> Copyright (c) 2002 Martin Edenhofer <[EMAIL PROTECTED]> >> 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) > >No problem! :) > >> Can someone help me? > >Is it working if you change it to: > >[...] > # -- > # read data > # -- > my $String = ''; >[...] > >> regards, >> Thomas W. Horna > > Martin > >-- >Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
