[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] mac file busy?



When I try the following, I get an error:

# Can't call method "ioFRefNum" without a package or object reference.
File 'Untitled'; Line 7

Perchance, anyone have any idea what I'm doing wrong?

#!perl
use Mac::Files;

$file ="full:path:to:file";
$cat = FSpGetCatInfo($file);

$busy = $cat->ioFRefNum;



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch