Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 435
  • Last Modified:

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,
0
Tolgar
Asked:
Tolgar
1 Solution
 
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now