On Fri, Jun 01, 2001 at 02:39:31PM -0700, Bill Stilwell wrote:

How embarrasing. My first post and I left out a semi-colon. It's
there now.

> my $new_file;
> open IN, $file or die "$file: $!\n";
> while (<IN>) {
>   if ($. == 1) { 
>      $new_file = $_; 
>   } else {
>      # your processing goes here
>   }
> }
> close IN;

-- 
Bill Stilwell                               
[EMAIL PROTECTED]                        
It's all margins.
Oh, just read my weblog: http://www.marginalia.org

Reply via email to