Mac OS X Panther Hacks book

2004-07-01 Thread Chris Nandor
There's a few Mac::Glue hacks (co-authored by me) in the new O'Reilly book,
Mac OS X Panther Hacks.

http://www.oreilly.com/catalog/0596007183/

One of them is available via PDF:

http://www.oreilly.com/catalog/0596007183/chapter/hack20.pdf

There's also some Pashua hacks, and an Automate a Web Photo Gallery with
iPhoto and Perl hack.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/


Re: Curses trouble

2004-07-01 Thread Ken Williams
I couldn't install it either.  I note on 
http://testers.cpan.org/show/Curses.html that the failures greatly 
outweigh the passes, FWIW.

However, how come in your example it's libCurses.dylib instead of 
libcurses.dylib?

 -Ken
On Jul 1, 2004, at 2:02 PM, Mike Lemmon wrote:
I've gotten Curses.pm off of CPAN, but any program I try to run with 
it fails to compile, saying that libcurses.dylib is not a 
recognisable object file. Anyone know what I need to do to fix this? 
Thanks!

% perl -e 'use Curses'
Can't load '/usr/lib/libCurses.dylib' for module Curses: 
/usr/lib/libCurses.dylib(2): Not a recognisable object file at -e line 
1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

% perl /Library/Perl/Curses.pm
Can't load '/usr/lib/libCurses.dylib' for module Curses: 
/usr/lib/libCurses.dylib(2): Not a recognisable object file
DynaLoader::croak('Can\'t load \'/usr/lib/libCurses.dylib\' 
for module Curses: /...') called at 
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm 
line 229
DynaLoader::bootstrap('Curses') called at 
/Library/Perl/Curses.pm line 64