#!/usr/bin/perl #test1.pl - using a perl package #the next line tells us which directory contains the module #NOTE the word "lib" IMPORTANT!!! use lib "/Users/wsverdlik/Documents/SourceCode/perl/modules"; use math; # this refers to math.pm use strict; #NOTE the syntax of invoking the function from the perl module my $a=math::area_of_circle(3.0); print "The area is $a\n"; my $volume=math::volume_of_cube(10,20,30); print "TRhe volume is $volume\n"; my $min=math::find_min(34,67,4,789,2,4444); print "The min value is $min\n";