[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet Spreadsheet.pm

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 08 Sep 2003 20:32:22 -0000


matthew		Mon Sep  8 16:32:22 2003 EDT

  Modified files:              
    /loncom/interface/spreadsheet	Spreadsheet.pm 
  Log:
  There are downsides to making warnings fatal:
  my %tmphash = &Apache::lonnet::dump(blah) crashes if the file does not
  exist.  Not good.  I don't feel like detecting this right now, so I am
  commenting out the use warnings stuff...
  
  
Index: loncom/interface/spreadsheet/Spreadsheet.pm
diff -u loncom/interface/spreadsheet/Spreadsheet.pm:1.23 loncom/interface/spreadsheet/Spreadsheet.pm:1.24
--- loncom/interface/spreadsheet/Spreadsheet.pm:1.23	Thu Sep  4 21:57:54 2003
+++ loncom/interface/spreadsheet/Spreadsheet.pm	Mon Sep  8 16:32:22 2003
@@ -1,5 +1,5 @@
 #
-# $Id: Spreadsheet.pm,v 1.23 2003/09/05 01:57:54 matthew Exp $
+# $Id: Spreadsheet.pm,v 1.24 2003/09/08 20:32:22 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -48,8 +48,8 @@
 package Apache::Spreadsheet;
 
 use strict;
-use warnings FATAL=>'all';
-no warnings 'uninitialized';
+#use warnings FATAL=>'all';
+#no warnings 'uninitialized';
 use Apache::Constants qw(:common :http);
 use Apache::lonnet;
 use Safe;