Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

do separate hashes share common keys?

by LanX (Saint)
on Feb 13, 2021 at 22:38 UTC ( [id://11128348]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        
      DB<424> Dump \%h
    SV = IV(0x3f1b368) at 0x3f1b378
    ...
        FLAGS = (OBJECT,OOK,SHAREKEYS)
        STASH = 0x31619a8   "TST"
    ...
    
  2. or download this
    \@ARGV: ["test", "-n_objs=3", "-n_attr=5", "-share_keys=0"] at d:/tmp/
    +pm/bless_hash_overhead.pl line 21.
    \%opt: { -n_attr => 5, -n_objs => 3, -share_keys => 0 } at d:/tmp/pm/b
    +less_hash_overhead.pl line 22.
    ...
        "id" => 3,
      },
    ] at d:/tmp/pm/bless_hash_overhead.pl line 56.
    
  3. or download this
    C:/Perl_524/bin\perl.exe -w d:/tmp/pm/bless_hash_overhead.pl test -n_o
    +bjs=3 -n_attr=5 -share_keys=1
    \@ARGV: ["test", "-n_objs=3", "-n_attr=5", "-share_keys=1"] at d:/tmp/
    +pm/bless_hash_overhead.pl line 21.
    ...
      },
    ] at d:/tmp/pm/bless_hash_overhead.pl line 56.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11128348]
Approved by Corion
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-20 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found