1. Googling for 'granular computing Perl' didn't turn up anything obviously pertinent, so I guess you're as welcome as anyone to introduce granular computing to the Perl community (or at least to the monastery).
in reply to Searching for information about Granular Computing with Perl
2. The posting on your scratchpad would be a bit more useful if, instead of expecting to get the data via a handle to a file, you were to supply us with a dozen or so lines of sample data under a __DATA__ tag at the end of the script.