I see several aspects here:
- Perl and graphics: Is this about creating graphical user interfaces (GUI) - or about creating pictures and animations? For GUI, the choice is, well, difficult. For a somewhat narrower scope, SDL Perl comes with a book Writing Games in Perl (a bit stale, though). If it's about creating beautiful images, you could start with an app like harmonograph (based on Wx) and work from there (but see the third item below).
- to be used in more up to date contexts: That would make it difficult for Tk. While the widget demo provided with the library is very helpful, it shows a style which is very idiomatic to Perl - and to a somehow old-fashioned Perl style in particular. Also, Perl/Tk apps look a bit "old". On the plus side, to my knowledge it is the only toolkit which allows to define events on individual canvas items.
- An important aspect of is to get it running in the environment which your son wants to use, and unfortunately this isn't always trivial. So, I would be tempted to recommend WxPerl, but unfortunately it doesn't install cleanly from CPAN these days. For example, for Windows and Strawberry Perl there's the open Bug #129768; applying the patch suggested by Kai-Uwe Eckhardt in that bug report makes installation work and tests pass.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|