"Xah Lee" <ยทยทยท@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