[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Mon Mar 30 13:14:09 UTC 2009


kawas
Mon Mar 30 09:14:09 EDT 2009
Update of /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates
In directory dev.open-bio.org:/tmp/cvs-serv24644/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates

Modified Files:
	service-cgi.tt 
Added Files:
	service-cgi-async.tt 
Log Message:
new cgi-async service template
moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates service-cgi-async.tt,NONE,1.1 service-cgi.tt,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt	2009/02/11 19:11:30	1.2
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt	2009/03/30 13:14:09	1.3
@@ -43,7 +43,7 @@
 my $q = new CGI;
 
 # get the data from the 'data' parameter
-my $data = $q->param('data') | $q->param('POSTDATA') | "";
+my $data = $q->param('data') || $q->param('POSTDATA') || "";
 # call the service
 my $x =  __PACKAGE__->[% obj.name %]($data);
 




More information about the MOBY-guts mailing list