If Tk works on OS X, you might be able to do something that way. Also,
there is the Simple DirectMedia Layer, a game/graphics/sound library that
runs on Linux, Windows, Be, and Mac OS (X and classic). It has perl
bindings that should let you do stuff like that.
Unfortunately, while I was able to download and compile the SDL libs without
any problems, I had a bit of trouble with the perl bindings, but you may
have better luck.
You can find SDL here: http://www.libsdl.org/
The Perl libs for it are linked from there.
Ian
On 5/17/01 9:53 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> The objective is to write a short perl script under Mac OS X that
> will open a new window and draw stuff in it (say draw random colored
> circles as an example).
>
> What are the minimal bits and pieces (from carbon, cocoa, aqua,
> whatever) that need to be glued together to achieve this goal? A
> quick snipet of example code would be great.
>