Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

OO Pattern Container x Elements and Method Chaining

by LanX (Saint)
on Oct 08, 2021 at 15:07 UTC ( [id://11137346]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cont = Container->new();
    my $elem = Element->new('name');
    ...
    # identical to
    $elem1 = $cont1->get_elem('name');
    $elem1->do_something(); # *
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11137346]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2024-03-28 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found