Please use paras (<p>...</p>) to separate your stream-of-consciousness narrative into coherent thoughts. As posted, s/it's/it was/ (see reply below) unnecessarily difficult to read.
Second, please tell us the relevance of the error you cite:
'Use of uninitialized value in string eq at BSanalyzer.pl line 122'
as the code you posted may or may not be from BSanalyzer.pl but certainly contains no line 122.
Update: tense change above (and ++ for responsiveness) ... but
changing the error citation to refer to another line which does not exist in your posting is less useful.