Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

How do I go from procedural to object oriented programming?

by Lady_Aleena (Priest)
on Apr 20, 2015 at 20:43 UTC ( [id://1124071]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %movies_data = (
      'Firefly' => {
    ...
        'company' => 'Thames Television',
      },
    );
    
  2. or download this
    package Movies::LookUp;
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    use strict;
    use warnings FATAL => qw( all );
    ...
      my $movie_is = movie_is($movie);
      print "<p>$movie $movie_is</p>\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-18 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found