Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-09-18 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (117 votes), past polls