Here is my code and the results below, see how the hashes are printed not the values
any ideas how I can get the data?
# read subplot ANOVA results
my ($subplot_ERROR, $subplot_BLOCK) = &read_subplot_anova_stats($subpl
+ot_anova_file);
######################################################################
+######
##my $hash_ref = mysub();
while (my ($k, $v) = each(%$subplot_ERROR)) {
print "error:$k = $v\n";
}
error:2019/Preston/W1 = HASH(0x3759530)
error:2019/Preston/V2 = HASH(0x36378e0)
error:2019/Preston/W3 = HASH(0x3640140)
error:2019/Preston/V1 = HASH(0x3642ca8)
error:2019/Preston/W2 = HASH(0x3637850)
error:2019/Preston/STD = HASH(0x363fde0)
error:2019/Preston/V3 = HASH(0x3764478)
Block:2019/Preston/V1 = HASH(0x3637ec8)
Block:2019/Preston/W2 = HASH(0x3643218)
Block:2019/Preston/V3 = HASH(0x37565a8)
Block:2019/Preston/STD = HASH(0x3642c90)
Block:2019/Preston/W1 = HASH(0x3631b38)
Block:2019/Preston/V2 = HASH(0x3626c80)
Block:2019/Preston/W3 = HASH(0x375b610)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
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.