Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

A simple example OO script for total beginners

by bl0rf (Pilgrim)
on Sep 05, 2003 at 01:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://289076]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found