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

Re: [MacPerl] Adding resource fork to file



> At 22.03 -0400 1998.08.12, Kevin Reid wrote:
> >How do I add a resource fork to a file that doesn't have one? I saw
> >Mac::Resources::FSpCreateResFile, but I don't understand its parameters.
> 
> This should do it:
> 
>   FSpCreateResFile($file, MacPerl::GetFileInfo($file), 1) or die $^E;

What does the third parameter mean?

-- 
  Kevin Reid.      |         Macintosh.
   "I'm me."       |      Think different.

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