--- loncom/homework/lonmaxima.pm	2006/12/11 22:02:13	1.7
+++ loncom/homework/lonmaxima.pm	2006/12/15 21:10:13	1.8
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.7 2006/12/11 22:02:13 www Exp $
+# $Id: lonmaxima.pm,v 1.8 2006/12/15 21:10:13 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -88,7 +88,7 @@ sub maxima_run {
 	$submission_index++;
     }
     my $argument_index=1;
-    foreach my $argument_component (split(/\s*\,\s*/,$argument)) {
+    foreach my $argument_component (@{$argument}) {
 	$fullscript.="LONCAPALIST[$argument_index]:$argument_component;\n";
 	$argument_index++;
     }