Use the array from the previous example. Print it out to a new file (file should have ten lines).
Basically the task he gave me before was to create an array and print it to the screen which i done. I have googled this and i do know how to start. Correct me if im wrong but this is how i started
-----CODE----- #!/usr/bin/env perl
#Outputting arrays
#
open FILE, ">file.txt" or die $!: ----END- OF- CODE----------- Could anyone explain what i will be required to do next.
Re: [ichi] Need help with another Perl task
[In reply to]
Can't Post
In Reply To
In Reply To
Could anyone explain what i will be required to do next.
you need to start over and read a Perl book. Or just type perldoc perltoc or perldoc perl to see the Perl documentation.
I got that problem sorted but im not on the UNIX server so i cant post what i did sorry it was the right line of code but i had to put that in the array.pl that i made and add a print to it i will send you the source code tomorrow.