Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Procedural vs OOP modules

by LanX (Saint)
on Oct 28, 2021 at 23:28 UTC ( [id://11138160]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Do_Something
    
    ...
    bar( Y, %repeated);
    
    ...
    
  2. or download this
    my $obj = Do_Something->new(%init);
    
    $obj->foo(X);
    
    $obj->bar(Y);
    
  3. or download this
    my $obj2 = Do_Something->new(%other_init);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2024-04-18 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found