Anonymous user
Mouse position: Difference between revisions
m
→{{header|Perl}}: Add subsection.
No edit summary |
m (→{{header|Perl}}: Add subsection.) |
||
Line 497:
=={{header|Perl}}==
==={{libheader|Perl/SDL}}===
The following code will use the SDL module, a wrapper for the libSDL C-library. When you move the mouse over the created window, the mouse position get printed and the program terminates.
<lang Perl>use SDL;
|