Greetings!

As always happens, it turns out that this whole conundrum was my own
fault.  There were not one but two pieces of glaring idiocy.  First, it
turned out that the mysterious Trains.pm file did indeed have two
separate methods named new().  Second, I followed up on the suggestion
a couple of people made that $trainName seemed not to have anything in
it.  Before ScheduleDay::AddTrain() was called, a line was read from a
.csv file.  split() was used to break the data into separate elements
of an array named @data.  Then, when I called AddTrain(), I passed it
@_ !!!!  Whatever was in the default array at the time, it wasn't what
I wanted.

Excuse me while I go crawl under a rock and hide.

RobR


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to