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

RE: RE: My views on pseudohashes

by panache (Initiate)
on Jun 30, 2000 at 00:46 UTC ( #20490=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    package hashobject;
    ...
      return(bless($self, $class));
    }
    
  2. or download this
    
    my $obj = new hashobject;
    ...
    $obj->{variablee} = 'bar';  # TYPO...
    print $obj->{variable};  # Prints 'foo'
    
  3. or download this
    
    package pseudohashobject;
    ...
      return($self);
    }
    
  4. or download this
    my $obj = new pseudohashobject;
    $obj->{variablee} = 'bar';  # TYPO
    print $obj->{variable};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2020-09-28 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (143 votes). Check out past polls.

    Notices?