in reply to Re: Re: Stripping a seemingly complicated comma-delimited file
in thread Stripping a seemingly complicated comma-delimited file
Please check the error from your file open. What if it fails? open(HIPORT,"eq010125.txt") or die "Couldn't open file, $!"; However, your main problem is that you are assigning the contents of your file to a scalar - $file.#!/usr/local/bin/perl -w # GOOD! open(HIPORT,"eq010125.txt");
|
|---|