Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Welcome to the Monastery
 
PerlMonks  

Re: mac file ownership

by LD2 (Curate)
on May 26, 2001 at 01:14 UTC ( [id://83459]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to mac file ownership

I think that MacPerl::GetFileInfo should work.
MacPerl::GetFileInfo(FILE) 
In scalar context, returns the file type. In array context, returns (creator,type). Examples: 
    MacPerl::GetFileInfo(yin);


Returns "TEXT" or ("MPS ", "TEXT"). 
- From Macperl.
You may want to look at this MacPerl Primer as well.

good luck.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://83459]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.