CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Need help with another Perl task

 



Zoob
Novice

Jul 1, 2009, 6:47 AM

Post #1 of 3 (293 views)
Need help with another Perl task Can't Post

I have been given a task to basically

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.


ichi
User

Jul 1, 2009, 9:22 AM

Post #2 of 3 (291 views)
Re: [Zoob] Need help with another Perl task [In reply to] Can't Post


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.


Zoob
Novice

Jul 1, 2009, 11:42 AM

Post #3 of 3 (285 views)
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.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives