Help for this page

Select Code to Download


  1. or download this
    #/usr/bin/perl
    # call this with perl prog.pl output_file input.db
    
    ...
    while (<>) {
      # do something
    }
    
  2. or download this
    # to be inserted into the while loop above
    my @lines = split /\n/, $_;