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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner: Re: [jeffle] little script that doesn't work: Edit Log


Dec 27, 2012, 6:08 AM

Views: 3005
Re: [jeffle] little script that doesn't work

You did not say what did not work. One mistake I do see is that you are working on the third line, not the second (array indices start at zero).

Always use strict and warnings. If your file only has two lines this would have found the error. (I suspect that this is true because you should have recognized the first five characters of the third line)

Always check the status of open. If your script, as is, is unable to open the text file, you will not get any output.

Edit: Please reference your post on perlmonks.
Good Luck,

(This post was edited by BillKSmith on Dec 27, 2012, 6:43 AM)

Edit Log:
Post edited by BillKSmith (Veteran) on Dec 27, 2012, 6:43 AM

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

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