in reply to Re: Extract length sum from columns and print pattern into another file
in thread Extract length sum from columns and print pattern into another file

Thank you! So, in your code, file1.txt would be DATA, right? How is <DATA> given as input input file?
  • Comment on Re^2: Extract length sum from columns and print pattern into another file

Replies are listed 'Best First'.
Re^3: Extract length sum from columns and print pattern into another file
by pryrt (Abbot) on Jun 07, 2019 at 15:36 UTC
Re^3: Extract length sum from columns and print pattern into another file
by poj (Abbot) on Jun 07, 2019 at 15:23 UTC
    my $infile = 'file1.txt'; open IN,'<',$infile or die "Could not open $infile : $!"; while (<IN>){ } close IN;
    See perlopentut

    poj