At 18.31 -0500 1999.11.22, Ronald J Kimball wrote: >Since there is no path, the files cannot be found, and FSpGetCatInfo() is >presumably returning undef. You should check for this error condition. Note that for Mac toolbox functions, the normal syntax is: my $foo = MyFunction($bar) or die $^E; That is, Mac toolbox functions normally return undef on error, and put the error message in $^E. (For those playing along at home, Mac::Glue does this differently, by not necessarily returning undef only on error, but it still puts the error in $^E.) -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org