nasa has asked for the wisdom of the Perl Monks concerning the following question:
Then if I send the array to a data file thus.print ("The second element is $boxed[1]"); All is fine and Bucket Man appears.
$data_path = "saved.data"; $now = time(); open(O, ">$data_path"); print O "@boxed"; close(O);
$data_file="saved.data"; open(DAT, $data_file) || die("Could not open file!"); @raw_data=<DAT>; close(DAT);
Now Bucket man refuses to appear.
Its like by saving to data file and bringing back I have
destroyed the @array format or something.
How can I get Bucket Man back to work.?
I really have spent some time looking for the answer, but relative FAQ`s
Tend towards internet entwined network entangled complicated code.
I just simply need Bucket Man back on the job.
God bless Ya all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Annoying array.
by Zaxo (Archbishop) on Apr 25, 2003 at 00:48 UTC | |
|
Re: Annoying array.
by The Mad Hatter (Priest) on Apr 25, 2003 at 00:47 UTC | |
|
Re: Annoying array.
by jasonk (Parson) on Apr 25, 2003 at 00:48 UTC | |
by Abigail-II (Bishop) on Apr 25, 2003 at 01:04 UTC |