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

Re^2: Self Testing Modules

by Happy-the-monk (Canon)
on Dec 18, 2005 at 01:00 UTC ( #517540=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (caller) {
    ...
    }
    
  2. or download this
    unless ( caller ) {
        # here go the tests that are only called when the module is run as
    +:
        # perl Module.pm
    }
    
  3. or download this
    return 1 if caller; # end of the module's own code
    
    # Test Code goes here
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2021-06-24 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (127 votes). Check out past polls.

    Notices?