Skip Menu |

This queue is for tickets about the POE-Component-Jabber CPAN distribution.

Report information
The Basics
Id: 12397
Status: resolved
Priority: 0/
Queue: POE-Component-Jabber

People
Owner: Nobody in particular
Requestors: piotr.czarny [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Perl warning in POE::Component::Jabber::Client::Component
Perl version: This is perl, v5.8.4 built for i386-linux-thread-multi I get this warning: Warning: Use of "shift" without parentheses is ambiguous at /usr/local/share/perl/5.8.4/POE/Component/Jabber/Client/Component.pm line 274.
Please fix it. It's not a big deal. Just change: print STDERR "\n", scalar (localtime (time)), ": ". shift ."\n"; to print STDERR "\n", scalar (localtime (time)), ": ". shift() ."\n"; in the sub debug_message() in Legacy.pm and XMPP.pm client components.
I will roll this into the next release [PICZ - Fri Oct 28 07:26:28 2005]: Show quoted text
> Please fix it. It's not a big deal. > > Just change: > print STDERR "\n", scalar (localtime (time)), ": ". shift ."\n"; > to > print STDERR "\n", scalar (localtime (time)), ": ". shift() ."\n"; > > in the sub debug_message() in Legacy.pm and XMPP.pm client components. >
New release fixes this. On Wed Nov 30 10:46:26 2005, NPEREZ wrote: Show quoted text
> I will roll this into the next release > > [PICZ - Fri Oct 28 07:26:28 2005]: >
> > Please fix it. It's not a big deal. > > > > Just change: > > print STDERR "\n", scalar (localtime (time)), ": ". shift ."\n"; > > to > > print STDERR "\n", scalar (localtime (time)), ": ". shift() ."\n"; > > > > in the sub debug_message() in Legacy.pm and XMPP.pm client components. > >
> >