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

raeburn raeburn at source.lon-capa.org
Wed Dec 10 20:19:07 EST 2014


raeburn		Thu Dec 11 01:19:07 2014 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  - Coding style: keys()
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.126 loncom/interface/loncoursegroups.pm:1.127
--- loncom/interface/loncoursegroups.pm:1.126	Wed Jun 18 16:34:39 2014
+++ loncom/interface/loncoursegroups.pm	Thu Dec 11 01:19:07 2014
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.126 2014/06/18 16:34:39 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.127 2014/12/11 01:19:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1587,7 +1587,7 @@
                          future => 0,
                        );
     my $totalmembers = 0;
-    foreach my $member (keys %memberhash) {
+    foreach my $member (keys(%memberhash)) {
         $totalmembers ++;
         my ($end,$start) = split(/:/,$memberhash{$member});
         unless ($start == -1) {
@@ -1702,7 +1702,7 @@
     if ($remnum) {
         $halfnum ++;
     }
-    my @allfunctions = sort(keys (%{$functions}));
+    my @allfunctions = sort(keys(%{$functions}));
 
     $r->print(&Apache::lonhtmlcommon::row_title($lt{'func'})
              .'<div>'




More information about the LON-CAPA-cvs mailing list