Rob Richardson wrote:
>
> Hello again.
Hello,
> None of this is working.
>
> John Krahn suggested:
> > push @{$trainsList{$trainDate}}, @trainData;
> (note the curly brackets on the outside). This gave me the following
> error:
>
> Can't locate object method "trainList" via package "train
Hello again.
None of this is working.
John Krahn suggested:
> push @{$trainsList{$trainDate}}, @trainData;
(note the curly brackets on the outside). This gave me the following
error:
Can't locate object method "trainList" via package "trainDate" (perhaps
you forgot to load "trainDate"?) at
Rob Richardson wrote:
>
> Greetings!
Hello,
> I am trying to write a Perl script for the Cuyahoga Valley Scenic
> Railroad, so that volunteers can sign up to work on trains. The
> schedule file has comma-separated lines that have the date of the
> train, the name of the train, and the names of
Hi -
Tell perl it really is an array:
push @( $trainsList{$trainDate} }, $trainRef;
^^ ^
Aloha => Beau.
-Original Message-
From: Rob Richardson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 3:35 PM
To: [EMAIL PROTECTED]
Subject: Confused b