MacOSX-File
view release on metacpan or search on metacpan
Catalog/Catalog.pm view on Meta::CPAN
8687888990919293949596979899100101102103104105
my
(
$path
) =
@_
;
my
$self
= xs_getcatalog(
$path
) or
return
;
@$self
or
return
;
bless
$self
;
}
sub
get{
my
(
$class
,
$path
) =
@_
;
my
$self
= xs_getcatalog(
$path
) or
return
;
@$self
or
return
;
bless
$self
=>
$class
;
}
=item $catalog->set([$path]);
=item setcatalog($catalog, [$path]);
Sets file attributes of file $path. If $path is omitted the file you
used to construct $catalog is used. On success, it returns 1. On
failure, it returns 0 and $MacOSX::File::OSErr is set.
Info/Info.pm view on Meta::CPAN
8990919293949596979899100101102103104105106107108
my
(
$path
) =
@_
;
my
$self
= xs_getfinfo(
$path
);
defined
$self
or
return
;
bless
$self
;
}
sub
get{
my
(
$class
,
$path
) =
@_
;
my
$self
= xs_getfinfo(
$path
);
defined
$self
or
return
;
bless
$self
=>
$class
;
}
=item $finfo->set([$path]);
=item setfinfo($finfo, [$path]);
Sets file attributes of file $path. If $path is omitted the file you
used to construct $finfo is used. On success, it returns 1. On
failure, it returns 0 and $MacOSX::File::OSErr is set.
( run in 0.368 second using v1.01-cache-2.11-cpan-87723dcf8b7 )