Please send questions to st10@humboldt.edu .
#!/usr/bin/perl -w

#######################################################
# lect03_subroutine1
#
# first example of a subroutine/user-defined function
#
# modified by Sharon Tuttle from "Learning Perl",
#    by Schartz and Phoenix
#
# last modified: 9-06-04
#######################################################

# WHEN CALLED, just prints a message of success

sub my_first_subroutine
{
    print "**************************\n";
    print " MY FIRST PERL SUBROUTINE \n";
    print "**************************\n";
}

# notice, though --- subroutine doesn't DO anything until it is called;
# this script will compile, but not do anything!

# end of lect03_subroutine1