develooper Front page | perl.macperl.toolbox | Postings from January 2008

Re: [MacPerl-Toolbox] read resource fork

Thread Previous | Thread Next
From:
Chris Nandor
Date:
January 24, 2008 19:31
Subject:
Re: [MacPerl-Toolbox] read resource fork
Message ID:
03322B14-A5AA-47E7-9E4C-91504951EB5B@pobox.com
On Jan 24, 2008, at 19:11, David Arnold wrote:

> How do i read an entire resource fork, similar to reading the data  
> fork,
> irrespective of individual resources?

Is this for Mac OS X?  If so, you might be able to just do:

	open my $rsrc, '<', "$filepath/rsrc";

It's an easy shortcut to get at the raw fork.

Also, if this is for Mac OS X, you might find the macosx@perl.org list  
of more use.

-- 
Chris Nandor             pudge@pobox.com             http://pudge.net/
Slashdot / SourceForge   pudge@slashdot.org       http://slashdot.org/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About