Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Hash references moving between modules

by castaway (Parson)
on Jan 10, 2003 at 18:36 UTC ( #225903=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cvterm_id;  # this scalar is going to be a hashref
      while (my $hashref = $sth->fetchrow_hashref) {
        $$cvterm_id{$$hashref{termname}} = $$hashref{cvterm_id};
      }
    
  2. or download this
    my $cvterm_id;  # this scalar is going to be a hashref
      while (my $hashref = $sth->fetchrow_hashref) {
        $cvterm_id->{$$hashref{termname}} = $$hashref{cvterm_id};
      }
    
  3. or download this
    my $cvterm_id;  # this scalar is going to be a hashref
      while (my $hashref = $sth->fetchrow_hashref) {
        $cvterm_id->{$hashref->{termname}} = $hashref->{cvterm_id};
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://225903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-12-18 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (66 votes), past polls