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

Re: perl OO - to use or not to use

by leriksen (Curate)
on Sep 15, 2003 at 05:22 UTC ( #291488=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (defined (my $record = $file_object->next()) { # next creates a 
    +record  object from data in the file
      $records->process();
    }
    
  2. or download this
    # OO
    $object->fold()->spindle()->mutilate();
    #procedural
    my $rc = mutilate(spindle(fold($data)));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-02-20 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (295 votes). Check out past polls.