Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

A simple example OO script for total beginners

by bl0rf (Pilgrim)
on Sep 05, 2003 at 01:11 UTC ( #289076=perltutorial: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # Number.pm, a number as an object
    ...
    }
    
    1;        # this 1; is neccessary for our class to work
    
  2. or download this
    #!/usr/bin/perl
    # useit.pl using the Number module
    ...
    #    to it...
    
    exit();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-08-30 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls