Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: How to write testable command line script? (updated)

by AnomalousMonk (Archbishop)
on Nov 22, 2018 at 02:49 UTC ( [id://1226158]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package TrigCalc;
    
    ...
        }
    
    1;
    
  2. or download this
    use warnings;
    use strict;
    ...
    # support subroutines ##############################################
    
    # none for now
    
  3. or download this
    c:\@Work\Perl\monks\thechartist>perl TrigCalc.t
    ok 1 - use TrigCalc;
    ...
    1..34
    ok 35 - no warnings
    1..35
    
  4. or download this
    sub reduce {
    
    ...
        return $degs, $mins, $secs;
    
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-28 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found