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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 17 Jun 2005 17:10:00 -0000


albertel		Fri Jun 17 13:10:00 2005 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - err 
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.640 loncom/lonnet/perl/lonnet.pm:1.641
--- loncom/lonnet/perl/lonnet.pm:1.640	Fri Jun 17 12:53:07 2005
+++ loncom/lonnet/perl/lonnet.pm	Fri Jun 17 13:09:59 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.640 2005/06/17 16:53:07 albertel Exp $
+# $Id: lonnet.pm,v 1.641 2005/06/17 17:09:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1380,7 +1380,7 @@
                       movie => '',
                      );
     my $p = HTML::LCParser->new($filepath.'/'.$file);
-    while ($t=$p->get_token()) {
+    while (my $t=$p->get_token()) {
 	if ($t->[0] eq 'S') {
 	    my ($tagname, $attr) = ($t->[1],$t->[2]);
 	    push (@state, $tagname);