At 13:24 06.07.2001 -0400, Aaron Petry wrote:
Oops.
>>>chomp(@f1fname = );
>>
>>I would do this:
>>my $line = ;
>>chomp $line;
>>@f1fname = split(/,/, $line);
>>
>>and then some error checking:
>>
>>print "Field counts do not match!\n" if(scalar(@f1fname) != $f1fnum);
>
>Actually, if I had been t
At 06:10 PM 7/6/2001 +0200, Aaron Craig replied to me:
>>use strict;
>>
>>my($file1, $f1fnum, @f1fname, $f1namef, $f1key);
>>
>>#First, get the path of the file that has the names that need to be compared.
>>#The first line prints the question, the second line assigns the typed
>>response, les
At 11:53 06.07.2001 -0400, Aaron Petry wrote:
> I have a comma delimited file like this:
>"field1","field 2","Some longer field 3 here","And some field 4"
>.I want to ask my users how many fields there are and populate that to a
>scalar, then ask them what the field titles are and shove t