Re: Confused by a complex data structure

2002-12-15 Thread John W. Krahn
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

Re: Confused by a complex data structure

2002-12-15 Thread Rob Richardson
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

Re: Confused by a complex data structure

2002-12-15 Thread John W. Krahn
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

RE: Confused by a complex data structure

2002-12-14 Thread Beau E. Cox
sed by a complex data structure Greetings! 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 people

Confused by a complex data structure

2002-12-14 Thread Rob Richardson
Greetings! 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 people who will be working on the train (or