--- loncom/LONCAPA.pm 2006/05/30 15:39:56 1.3 +++ loncom/LONCAPA.pm 2006/05/30 19:26:34 1.4 @@ -1,7 +1,7 @@ # The LearningOnline Network # Base routines # -# $Id: LONCAPA.pm,v 1.3 2006/05/30 15:39:56 www Exp $ +# $Id: LONCAPA.pm,v 1.4 2006/05/30 19:26:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -278,9 +278,7 @@ sub _do_hash_untie { } BEGIN { - my $perlvarref=LONCAPA::Configuration::read_conf('loncapa.conf'); - %perlvar=%{$perlvarref}; - undef $perlvarref; + %perlvar=%{&LONCAPA::Configuration::read_conf('loncapa.conf')}; } 1;