in reply to Trouble passing a hash to a module

This at least looks wrong

 $little_test_hash_ref = %little_test_hash;

You should reference the hash with \%...

 $little_test_hash_ref = \%little_test_hash;

- Ron

Replies are listed 'Best First'.
Re^2: Trouble passing a hash to a module
by holli (Abbot) on Aug 27, 2019 at 21:49 UTC
    That, or define it as a hashref in the first place.
    my $little_test_hash_ref = { COL_1 => 0, # ... };


    holli

    You can lead your users to water, but alas, you cannot drown them.