[LON-CAPA-cvs] cvs: loncom /homework radiobuttonresponse.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 20 Jun 2007 22:50:27 -0000
foxr Wed Jun 20 18:50:27 2007 EDT
Modified files:
/loncom/homework radiobuttonresponse.pm
Log:
Style police.
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.118 loncom/homework/radiobuttonresponse.pm:1.119
--- loncom/homework/radiobuttonresponse.pm:1.118 Wed Jun 20 18:36:52 2007
+++ loncom/homework/radiobuttonresponse.pm Wed Jun 20 18:50:27 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.118 2007/06/20 22:36:52 foxr Exp $
+# $Id: radiobuttonresponse.pm,v 1.119 2007/06/20 22:50:27 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -150,7 +150,7 @@
# Need to know how many foils we have so that I know how many
# bubble lines to consume:
- my $numfoils = scalar @whichfoils;
+ my $numfoils = scalar(@whichfoils);
my $bubble_lines = int($numfoils / $bubbles_per_line);
if (($numfoils % $bubbles_per_line) != 0) {
$bubble_lines++; # Partial line of bubbles too.