No, that's perfectly fine. I'd clean up the syntax and only dereference TEXT once. Also, you're misusing the '%' sigil. It changes depending on what you get back out - $ for scalars, @ for slices.
my $type = $MasterType{TEXT}; $type->{function}( $type->{command}, $type->{linkedHeaders} );
Added: Mr. Muskrat and bart noticed that I used $type and $text but really I should have said only $type. So I fixed it.
In reply to Re: Too Hash Happy?
by diotalevi
in thread Too Hash Happy?
by SmokeyB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |