Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Hello World for module writers

by davido (Cardinal)
on Aug 31, 2012 at 08:46 UTC ( [id://990945]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 3;
    BEGIN {
    ...
    diag( "Testing Acme::HelloWorld $Acme::HelloWorld::VERSION, Perl $], $
    +^X" );
    can_ok( 'Acme::HelloWorld', 'greet' );
    is( greet(), 'Hello, world!', 'greet() greets the world' );
    
  2. or download this
    package Acme::HelloWorld;
    
    ...
    =cut
    
    1; # End of Acme::HelloWorld
    
  3. or download this
    perl Makefile.PL
    make
    make test
    
  4. or download this
    perl Makefile.PL
    make
    ...
    cp Acme-HelloWorld-0.01/META.json ./META.json
    cp Acme-HelloWorld-0.10/META.yml  ./META.yml
    rm -rf Acme-HelloWorld-0.01/
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2024-04-23 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found