--- loncom/cgi/decompress.pl 2003/11/17 23:12:12 1.5
+++ loncom/cgi/decompress.pl 2003/11/19 14:58:14 1.7
@@ -1,7 +1,8 @@
#!/usr/bin/perl
#
-#
+#
# Copyright Michigan State University Board of Trustees
+#
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
#
@@ -28,74 +29,109 @@
# A CGI script that decompresses compressed files for mass uploading into
# construction space
####
-use lib '/home/httpd/lib/perl';
-use LONCAPA::Configuration;
-use LONCAPA::loncgi();
-use Apache::lonnet;
-if(! &LONCAPA::loncgi::check_cookie_and_load_env()){
+#Things still todo,
+#It has been tabinated
+#Now uses strict! with added feature of making everything very strict!
+#about 50% through rewriting things to use split and join
+#still have a lot of debugging statements that will go away after I get it to work ok(along with all the
's)
+#still have to rewrite the refresh tag to work right, its broken
+#the whole thing is broken right now
+#will rename the variables and reorder most of the script to make it more sane
+#improve the general readability of the whole thing, because unlike C everyone gets to look at it, so it has to be readable
+use strict;
+use lib '/home/httpd/lib/perl';
+use LONCAPA::loncgi ();
+if(! &LONCAPA::loncgi::check_cookie_and_load_env())
+{
print "Content-type: text/html\n\n";
print <NO COOKIE!