This is an archived low-energy page for bots and other anonmyous visitors.
Please sign up if you are a human and want to interact.
in reply to Re: I need your HELP!! in thread I need your HELP!!
OK, this is what I have soo far, its not much but here it goes.
use strict;
my $score; float:
my $std; float: standard deviation
my $avg; float:
open(IN FILE, 'pa5c.dat') || die ("Can't open file $!\n");
This is all I have, I'm totally STUCK!! Please can you help me?
Re: Re: Re: I need your HELP!!
by gregw (Beadle) on Apr 07, 2001 at 23:19 UTC
|
Try reading the Perl tutorials here on Perl Monks. Pretty good stuff. If you want concrete working code, take a look at the solutions to the exercises there too. The most immediately relevant ones for your situation seem to be those covering the basic datatypes and File Input and Output. Your code does open the file, now you just need to stick the data from it into an array. And clean up the syntax errors and extraneous stuff in your variable declarations (one hint: don't use spaces in your variable names.)
| [reply] |
|