Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2016-09-27 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (501 votes). Check out past polls.