
Alain
New User
Feb 12, 2002, 2:32 PM
Post #1 of 2
(367 views)
|
|
What might this function do?
|
Can't Post
|
|
Can anyone maybe try to explain what this function is doing? Especially what is in IDS finally? What is while (<$HFat>) { ($id,$rest)=split(/\t/,$_,2); $IDS{$id}=$rest; } # prepares data structures for recNext sub recAll { local ($table) = @_; undef %IDS; ($HData,$HFat) = &recOpen($table); seek($HFat,0,0); while (<$HFat>) { ($id,$rest)=split(/\t/,$_,2); $IDS{$id}=$rest; } $IDS=$table; return wantarray ? keys(%IDS) : ''; }
|