[LON-CAPA-cvs] cvs: rat / lonpageflip.pm
raeburn
raeburn at source.lon-capa.org
Thu Dec 11 08:16:49 EST 2014
raeburn Thu Dec 11 13:16:49 2014 EDT
Modified files:
/rat lonpageflip.pm
Log:
- Coding style: keys()
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.85 rat/lonpageflip.pm:1.86
--- rat/lonpageflip.pm:1.85 Tue May 20 20:40:46 2014
+++ rat/lonpageflip.pm Thu Dec 11 13:16:49 2014
@@ -2,7 +2,7 @@
#
# Page flip handler
#
-# $Id: lonpageflip.pm,v 1.85 2014/05/20 20:40:46 musolffc Exp $
+# $Id: lonpageflip.pm,v 1.86 2014/12/11 13:16:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -390,7 +390,7 @@
untie(%hash);
# --------------------------------------------------------- Store position info
$cachehash{$startoutmap}{'last_direction'}=[$direction,'notasymb'];
- foreach my $thismap (keys %cachehash) {
+ foreach my $thismap (keys(%cachehash)) {
my $mapnum=$cachehash{$thismap}->{'mapnum'};
delete($cachehash{$thismap}->{'mapnum'});
&Apache::lonnet::symblist($thismap,
More information about the LON-CAPA-cvs
mailing list