I found something interesting about this at stackoverflow.
For details please take a look at the provided link.
Karls-Mac-mini:Desktop karl$ ./hash_walk.pl
$VAR1 = {
'c' => {
'ca' => 8,
'cb' => {
'cba' => 9,
'cbb' => 10
}
},
'a' => {
'ab' => 1,
'ad' => {
'adb' => 4,
'ada' => 3,
'adc' => {
'adcb' => 6,
'adca' => 5
}
},
'ac' => 2
},
'b' => 7
};
k = ca v = 8 key_list = [c ca]
k = cba v = 9 key_list = [c cb cba]
k = cbb v = 10 key_list = [c cb cbb]
k = ab v = 1 key_list = [a ab]
k = adb v = 4 key_list = [a ad adb]
k = ada v = 3 key_list = [a ad ada]
k = adcb v = 6 key_list = [a ad adc adcb]
k = adca v = 5 key_list = [a ad adc adca]
k = ac v = 2 key_list = [a ac]
k = b v = 7 key_list = [b]
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Outside of code tags, you may need to use entities for some characters:
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|