How to pass a complex multi-dimensional hash to a subroutine in Perl?

Hi,
I have a complex multi-dimensional hash.

What is the best way to pass this hash to a subroutine?

Can you please give me an example?

Thanks,
TolgarAsked:
Who is Participating?
 
FishMongerCommented:
subroutine( \%complex_hash );

sub subroutine {

    my $complex_hash_ref = shift;

    ....
    ....
}
0
 
TolgarAuthor Commented:
I have follow up question. Can you please take a look at it?

http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_27838406.html

Thanks,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.