|
|
| P is for Practical | |
| PerlMonks |
Re: perl script handled by javaby Utilitarian (Priest) |
| on Nov 23, 2011 at 11:33 UTC ( #939642=note: print w/ replies, xml ) | Need Help?? |
|
Tomcat supports CGI, so an AJAX call to the Perl script within the JSP template is one possible workaround.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||