ok why the $$ instead of the %$?

sorry confused.

On Thu, 2003-11-20 at 12:08, Paul Kraus wrote:

    $$overdate{key}
    
    Perldoc perlref
    
    -----Original Message-----
    From: Eric Walker [mailto:[EMAIL PROTECTED] 
    Sent: Thursday, November 20, 2003 2:03 PM
    To: perlgroup
    Subject: Pointers
    
    
    Hello all, newbie here got a few questions:
    I am working with pointers and I sort of understand them and then  I
    don't.  I understand that instead of making a variable for a particular
    value you can use a pointer to access the same data.  So the new
    variable stores the pointer to the old data. ie.... $a = "mom";
          $b = \$b;
    print $$b --> mom
    
    Ok so what I don't understand is when do I need to dereference the
    pointer for hashes.  so I have a hash pointer..  \%overData.  Now how do
    I access this hash.  %$overData?
    
    Thanks
    confused.
    newbie
    
    
    
    

Reply via email to