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

Re: Hello World for module writers

by 2teez (Vicar)
on Aug 31, 2012 at 03:09 UTC ( [id://990908]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Hello::World;
    use warnings;
    ...
    
    1;
    
  2. or download this
    package Hello::World2;
    use warnings;
    ...
    }
    
    1;
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    my $greet = Hello::World2->new("Hello, World, Again");
    print $greet->the_greetings();  ## prints Hello, World, Again
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found