Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Blessed be the OOP'ers

by jeffa (Bishop)
on Jun 29, 2000 at 01:02 UTC ( #20253=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Person;
    use strict;
    ...
        $person->name($_);
        push @employees, $person;
    }
    
  2. or download this
    foreach my $employee (@employees) {
    
        print $employee->name(), "\n";
    }
    
  3. or download this
        print ref($employee), "\n";
    
  4. or download this
    package Person;
    
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://20253]
Approved by root
help
Chatterbox?
[trippledubs]: stevie are you still ignoring me
[trippledubs]: either way; sorry.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-03-27 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.