Skip Menu |

This queue is for tickets about the SystemTray-Applet-Win32 CPAN distribution.

Report information
The Basics
Id: 55922
Status: resolved
Priority: 0/
Queue: SystemTray-Applet-Win32

People
Owner: link [...] redbrick.dcu.ie
Requestors: mike [...] mikebaas.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



Subject: Can't call method "Interval" on an undefined value on clean install
On Strawberry Perl, installing from CPAN, all tests appeared to pass. I setup a sample program following the POD: #!perl use warnings; use strict; use SystemTray::Applet::Win32 qw(0); my $foo = SystemTray::Applet::Win32->new(); Creating the object gets the following error message: Can't call method "Interval" on an undefined value at C:/strawberry/perl/site/lib/SystemTray/Applet/Win32.pm line 200. Commenting out line 200 yields a working program. $self->{"win32"}->{"timer"}->Interval(0); Don't know why "timer" doesn't get defined, but it totally breaks the module.
On Thu Mar 25 01:46:33 2010, MBAAS wrote: Apologies for committing the cardinal sin of documentation. I have uploaded a new version fixing this to CPAN. It will take a few hours to circulate to the mirrors. Show quoted text
> On Strawberry Perl, installing from CPAN, all tests appeared to pass. > > I setup a sample program following the POD: > > #!perl > use warnings; > use strict; > use SystemTray::Applet::Win32 qw(0); > my $foo = SystemTray::Applet::Win32->new(); > > Creating the object gets the following error message: > > Can't call method "Interval" on an undefined value at > C:/strawberry/perl/site/lib/SystemTray/Applet/Win32.pm line 200. > > Commenting out line 200 yields a working program. > > $self->{"win32"}->{"timer"}->Interval(0); > > Don't know why "timer" doesn't get defined, but it totally breaks the > module.