It looks like your subroutine expects a single string as its argument, so just pass that.
if (exists $hash2{$samekeys}) { ntSpacer ($hash2{$samekeys}); } # ... sub ntSpacer { my $myseq = shift; # ... do other stuff }
In reply to Re: Input Hash Values Into Subroutine
by hippo
in thread Input Hash Values Into Subroutine
by FIJI42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |