in reply to Input Hash Values Into Subroutine
I would want to pass some indication of WHICH hash, and which key was being printed.ntSpacer($hash1{$samekeys}); ntSpacer($hash2{$samekeys}); } } sub ntSpacer{ my ($myseq) = @_; .. process and print $myseq...
And the call becomes:my ($myseq, $hashname, $key) = @_;
ntSpacer($hash2{$samekeys}, "HASH2", $samekeys);
All power corrupts, but we need electricity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Input Hash Values Into Subroutine
by FIJI42 (Acolyte) on Oct 23, 2017 at 19:12 UTC |