Somewhere before the loop you should have: my $analysis = analysis->new ($seqname, $sequence); and replace all analysis-> with $analysis->.
Suggest to whomever wrote analysis.pm that it should use a camel case Id - strict lower case is reserved for pragmas.
In reply to Re: Problem with string as HASH ref while strict refs in use
by GrandFather
in thread Problem with string as HASH ref while strict refs in use
by Ima Noob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |