[LON-CAPA-dev] Re: Printing broken in CVS HEAD?
Stuart Raeburn
lon-capa-dev@mail.lon-capa.org
Mon, 23 Aug 2010 15:53:24 -0400
Looking at lonwishlist.pm, one suggestion would be to split it into a
display module lonwishlistdisplay.pm (which would contain the handler
routine, and the requirement for Apache::Constants) and a separate
utilities module (lonwishlist.pm) which would contain the other
routines.
This was the approach taken with lonnavdisplay.pm and lonnavmaps.pm
> solution has been to move subroutines which are required in contexts
> which do not support Apache::Constants, but are used in multiple
> places, to modules which do not have handler subroutines, such as
> loncommon.pm, lonnet.pm, or lonmenu.pm
>
Stuart Raeburn