In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Sherm Pendley) wrote:
> On Thursday, December 5, 2002, at 12:38 PM, Chris Nandor wrote: > > > Does anyone know how to open a resource fork, with open(), sysopen(), > > POSIX::open(), etc.? On Mac OS, I would use O_RSRC, but that is > > apparently > > not available in Mac OS X's fcntl.h. > > open("filename/rsrc"); I tried that. Didn't work. open($rf, ">filename/rsrc") or die $!; Oh, I see. I need to first create the file, THEN I can open the rsrc fork. D'oh. open($df, ">filename") or die $!; open($rf, ">filename/rsrc") or die $!; There we go. Much better than using ResMerger. Thanks, -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/