Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: RE: Re: Blessed be the OOP'ers

by pemungkah (Priest)
on Jun 29, 2000 at 02:34 UTC ( #20280=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Blessed be the OOP'ers
in thread Blessed be the OOP'ers

And the push would then be
push @$employees, $person;
with printing them looking like
foreach $p (@$employees) {
   print $p->name(),"\n";
}
Using the array reference would make it easy to stuff this list of employees into another object/list/whatever.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://20280]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2018-02-24 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (310 votes). Check out past polls.

    Notices?