Daisy Daisy, give me your answer do

Sherm Pendley sherm at dot-app.org
Sun Oct 9 07:07:20 EDT 2005


"Xah Lee" <xah at xahlee.org> writes:

> there is a MacPerl program posted in 1998 that uses Mac's speech synth
> to sing Daisy Bell.
> See:
>
> http://bumppo.net/lists/macperl/1998/11/msg00412.html
>
> can anyone modify it so it runs out of the box on today's OS X?

For pre-Tiger OS versions you'll need to install the Mac::Carbon module from
CPAN, if you haven't done so already. Tiger ships with it pre-installed.

Aside from that, only trivial modification are needed to update the script.
Just Replace #!perl with #!/usr/bin/perl, and remove the last line, which
calls MacPerl::Quit().

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org



More information about the Python-list mailing list