Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: perl oop concept

by dsheroh (Prior)
on Dec 04, 2012 at 10:16 UTC ( #1007049=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl    
    
    ...
    $obj->{avalue} = 10;
    
    print Dumper($obj);
    
  2. or download this
    $VAR1 = bless( {
                     'avalue' => 10
                   }, 'a' );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007049]
help
Chatterbox?
erix checks for new, newer, newest nodes
Tanktalus checks for new, newer, newest jobs
[erix]: job hunting is an annoying situation to be in. Of course, once settled somewhere you're going to want out again...
[erix]: but that doesn't make the searching less anoying

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-05-23 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?