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.