--- loncom/auth/localstudentphoto.pm 2006/02/07 05:08:24 1.3 +++ loncom/auth/localstudentphoto.pm 2008/11/10 14:11:01 1.6 @@ -1,6 +1,6 @@ # The LON-CAPA dummy student photo fetch mechnism # -# $Id: localstudentphoto.pm,v 1.3 2006/02/07 05:08:24 raeburn Exp $ +# $Id: localstudentphoto.pm,v 1.6 2008/11/10 14:11:01 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,6 +26,31 @@ # # 8/24 Guy Albertelli +=pod + +=head1 NAME + +Apache::localstudentphoto + +=head1 SYNOPSIS + +Incoming data: none +Returns '' + +=head1 OVERVIEW + +Prevents errors when undefined subroutines are called in this package. +Will allow new routines added in the future to be called from lond etc. +without the need for customized versions of local*.pm packages to be +modified to include the new subroutines immediately. + +See I<"Programming Perl"> 3rd ed. pp 296-298. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=cut + package localstudentphoto; use lib '/home/httpd/lib/perl/'; @@ -80,7 +105,14 @@ sub thumbsettings { my $thumbsize = '40x40'; return ($fullsize,$thumbsize); } - + +sub AUTOLOAD { + our $AUTOLOAD; + return ''; +} 1; __END__ + + +