In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Robin) wrote:
> On Wednesday, March 5, 2003, at 05:40 pm, Nicholas G. Thornton wrote:
>
> > I was wondering if there's any way to do some of the stuff "in"
> > MacPerl.pm on
> > OSXPerl? Namely MacPerl::GetFileInfo() and MacPerl::SetFileInfo()
> >
>
> you need to install the developer tools, which will give you two
> commands GetFileInfo and SetFile
>
> you can use them in a script like this:
>
> print system('/Developer/Tools/GetFileInfo',
> '/Users/robin/Desktop/file.pl');
The Mac::Carbon distribution on the CPAN has MacPerl::GetFileInfo() and
MacPerl::SetFileInfo().
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/