Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 exploiting the Monastery: (10)
As of 2015-01-31 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (258 votes), past polls