--- nsdl/lonsql 2005/11/17 22:51:59 1.4 +++ nsdl/lonsql 2005/11/18 22:34:21 1.5 @@ -3,7 +3,7 @@ # The LearningOnline Network # lonsql - LON TCP-NSDL Query Handler. # -# $Id: lonsql,v 1.4 2005/11/17 22:51:59 www Exp $ +# $Id: lonsql,v 1.5 2005/11/18 22:34:21 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -868,7 +868,7 @@ sub nsdl_query { } elsif ($token->[0] eq 'S') { if ($token->[1] eq 'record') { %result=(); - } elsif ($token->[1]=/^dc\:/) { + } elsif ($token->[1]=~/^dc\:/) { $is=$token->[1]; $cont=''; } @@ -877,7 +877,7 @@ sub nsdl_query { # # Now store it away # - } elsif ($token->[1]=/^dc\:/) { + } elsif ($token->[1]=~/^dc\:/) { $result{$is}=$cont; } }