brady jacksan wrote:
Hi
I am writing a script that reads file from command line and places
each line from the files into an array, and prints out the total lines
read and then
each line read.
while (defined ($files = <>)) {
chomp;
print "Total lines in the files:@files\."
print "@files\n"
why do keep getting compilation errors?
I'll give you a hint. Where does @files get set?
use strict;
use warnings;
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]