Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.


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

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 scrutinizing the Monastery: (8)
As of 2015-07-28 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls