Hi, folks! Sean here!
I'm trying to assign some defined images to an array. It keeps telling me I can't call method Photo with an undefined value.
my @question;
for my $q (1..20) {
my $img = $mw -> Photo ( -file => "Q$q.bmp" );
push @question, $img;
}
What bonehead thing am I doing wrong?
I'm trying to assign some defined images to an array. It keeps telling me I can't call method Photo with an undefined value.
my @question;
for my $q (1..20) {
my $img = $mw -> Photo ( -file => "Q$q.bmp" );
push @question, $img;
}
What bonehead thing am I doing wrong?