Good idea about that last array, but this are troubles for in an later stadia....

I been coding just a bit and there still seems a trouble...

lets say hashfilling is ok...

while (my $c = $st->fetchrow_hashref) { my %analyst_record; $analyst_record{$c->{ANA_ID}}{e_mail}=$c->{EMAIL}; print STDERR "Hash: $analyst_record{$c->{ANA_ID}} \n"; Show_analyst_row($analyst_record{$c->{ANA_ID}}); ... ... ... sub Show_analyst_row { my(%analyst_record)=%{@_}; print STDERR "sub: $analyst_record{description} \n"; print "Valerie $analyst_record{description} \n"; print "</TR>\n"; }

So I did remove the \ for the reference...

But still he only prints "valerie" for every record in the query, Is it possible that there is still something wrong in the receiving of the reference cause when I just print and don't call the subfunction he does print the E-mail(uderstand what I mean?)

here is the log of my errorlog(notice the prints I putted in the code for that)

Hash: HASH(0x4039b1f0) sub: Hash: HASH(0x4039b1d8) sub: Hash: HASH(0x4037dfbc) sub: Hash: HASH(0x4039b3c4) sub: Hash: HASH(0x4039b3b8) sub: Hash: HASH(0x403aa028) sub: Hash: HASH(0x4039b214) sub:

thanks for looking.
Merlijn

In reply to Re: Re: Re: Re: References for subroutines to Hashes in Hashes :) by merlijn_u
in thread References for subroutines to Hashes in Hashes :) by merlijn_u

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.