[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 17 Nov 2004 16:40:00 -0000


albertel		Wed Nov 17 11:40:00 2004 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - just some tiny cleanups
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.569 loncom/lonnet/perl/lonnet.pm:1.570
--- loncom/lonnet/perl/lonnet.pm:1.569	Thu Nov 11 17:39:05 2004
+++ loncom/lonnet/perl/lonnet.pm	Wed Nov 17 11:40:00 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.569 2004/11/11 22:39:05 albertel Exp $
+# $Id: lonnet.pm,v 1.570 2004/11/17 16:40:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1407,9 +1407,9 @@
 # Save the file
     {
 	#&Apache::lonnet::logthis("Saving to $filepath $file");
-       open(my $fh,'>'.$filepath.'/'.$file);
-       print $fh $ENV{'form.'.$formname};
-       close($fh);
+	open(FH,'>'.$filepath.'/'.$file);
+	print FH $ENV{'form.'.$formname};
+	close(FH);
     }
 # Notify homeserver to grep it
 #