[LON-CAPA-cvs] cvs: loncom / LONCAPA.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 30 May 2006 19:26:37 -0000


albertel		Tue May 30 15:26:37 2006 EDT

  Modified files:              
    /loncom	LONCAPA.pm 
  Log:
  - the ref var seemed unneccesary
  
  
Index: loncom/LONCAPA.pm
diff -u loncom/LONCAPA.pm:1.3 loncom/LONCAPA.pm:1.4
--- loncom/LONCAPA.pm:1.3	Tue May 30 11:39:56 2006
+++ loncom/LONCAPA.pm	Tue May 30 15:26:34 2006
@@ -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 @@
 }
 
 BEGIN {
-    my $perlvarref=LONCAPA::Configuration::read_conf('loncapa.conf');
-    %perlvar=%{$perlvarref};
-    undef $perlvarref;
+    %perlvar=%{&LONCAPA::Configuration::read_conf('loncapa.conf')};
 }
 
 1;