Short answer: no
I think you mean JavaScript by the way - but Java does
have events in Applet and Application programming. Take
a look at Tk or Win32::GUI if you want to use Perl to create window-style
applications.
But as for Web applications, the only way to access events
such as a mouseOver is through JavaScript. :(
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
| [reply] |
Sorry, OT, but I do like this quote...
"If Java had true garbage collection, most programs would delete themselves upon execution"
- Robert Sewell
.02
cLive ;-)
| [reply] |
No, because Perl CGI, unlike Java, does not have applets that run client side. In order for a CGI script (which by definition runs server-side) to sense the mouse's movements the mouse would have to continually submit its coordinates by posting them in a form, and that is not practical.
| [reply] |
You can always bring Java into Perl :)
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur. | [reply] |
Perl is not in itself a windowing client but it can
drive libraries which display windows, as with Tk.
In the web context, if you use Javascript to create
images in Netscape which automatically highlight on
mouseover, Perl can
modify that file on the fly to specify which images
should be drawn. You would modify a template
containing the Javascript on the fly.
If a gorgeous interface is the most important thing
to you, Java or a DHTML interface with Javascript is
the answer to the front end. Java or Perl can be used
on the back end. Personally I find Swing too heavy
and you can probably get everything you need for a web
app through DHTML.
| [reply] |