--- loncom/interface/loncommon.pm 2002/04/23 21:00:01 1.34 +++ loncom/interface/loncommon.pm 2002/04/23 21:42:01 1.35 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.34 2002/04/23 21:00:01 matthew Exp $ +# $Id: loncommon.pm,v 1.35 2002/04/23 21:42:01 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,6 +38,40 @@ # Inputs result_from_symbread, user, domain, course_id # Reads in non-network-related .tab files +# POD header: + +=head1 NAME + +Apache::loncommon - pile of common routines + +=head1 SYNOPSIS + +Referenced by other mod_perl Apache modules. + +Invocation: + &Apache::loncommon::SUBROUTINENAME(ARGUMENTS); + +=head1 INTRODUCTION + +Common collection of used subroutines. This collection helps remove +redundancy from other modules and increase efficiency of memory usage. + +Current things done: + + Makes a table out of the previous homework attempts + Inputs result_from_symbread, user, domain, course_id + Reads in non-network-related .tab files + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head2 Subroutines + +=over 4 + +=cut + +# End of POD header package Apache::loncommon; use strict; @@ -65,6 +99,14 @@ my $thethreshold=0.1/$thefuzzy; my $theavecount; # ----------------------------------------------------------------------- BEGIN +=item BEGIN() + +Initialize values from language.tab, copyright.tab, filetypes.tab, +and filecategories.tab. + +=cut +# ----------------------------------------------------------------------- BEGIN + BEGIN { unless ($readit) { @@ -149,6 +191,16 @@ BEGIN { ############################################################### ## Home server