|Do you know where your variables are?|
Saving data to fileby viored (Novice)
|on Apr 08, 2014 at 04:03 UTC||Need Help??|
viored has asked for the
wisdom of the Perl Monks concerning the following question:
So I'm trying to save an arrays contents to file. I've written a short subroutine to write a line to the file, but I'm having trouble accessing all the elements of the array. Here's what I want to do
but $main::data (or any other number) isn't referencing what I want it to. How can I print all the contents of the array to an output file?