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?

thanks,

Brady




---------------------------------
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Reply via email to