Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Object and tied hash all at once?

by rrwo (Friar)
on Jul 06, 2001 at 23:46 UTC ( #94578=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      tie my %$hash, Class::Whatever;
    
      $hash->{foo} = "bar";
    
      $hash->SomeMethod();
    
  2. or download this
      my $obj = new Class::Whatever;
    
      $obj->{foo} = "bar";
    
      $obj->SomeMethod();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://94578]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2023-03-24 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (62 votes). Check out past polls.

    Notices?