In a message dated 2/5/04 12:37:24 AM, [EMAIL PROTECTED] writes:
>
> > So my next question is: What is Acrobat doing when opening a file that
> > SetFileInfo isn't?
>
> Setting the correct file type? :^)
>
> According to your previous message, you're doing this:
>
> MacPerl::SetFileInfo(
At 10:48 pm -0500 4/2/04, [EMAIL PROTECTED] wrote:
Interestingly, the problem I was trying to solve with MacPerl's
SetFileInfo is still open. Once Perl set the creator/type...
At 6:23 pm -0500 3/2/04, [EMAIL PROTECTED] wrote:
MacPerl::SetFileInfo('CARO', 'PDF', $path);
Is that precisely what you
[EMAIL PROTECTED] wrote on 2/4/04 at 10:48p:
> So my next question is: What is Acrobat doing when opening a file that
> SetFileInfo isn't?
Setting the correct file type? :^)
According to your previous message, you're doing this:
MacPerl::SetFileInfo('CARO', 'PDF', $path);
HFS file and cr
> I've written the following to sweep a folder and set creator/type for
> pdf
> files (coming off a Linux server). This works from MacPerl, but I
> really need
> to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which
> @INC can't
> locate? ( #!/usr/bin/perl use MacPerl; ... ).
On Tuesday, February 3, 2004, at 05:23 PM, [EMAIL PROTECTED] wrote:
I've written the following to sweep a folder and set creator/type for
pdf
files (coming off a Linux server). This works from MacPerl, but I
really need
to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which
@INC
On Feb 3, 2004, at 6:23 PM, [EMAIL PROTECTED] wrote:
I've written the following to sweep a folder and set creator/type for
pdf
files (coming off a Linux server).
Standard caveat: Creator/type has been deprecated for Mac OS X, so you
really shouldn't need to do this unless these files either lack
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> #!perl
>
> use strict;
> use warnings;
>
> my ($folder,$x,$file,$path);
> my @files;
>
> $folder = ":pdf:";
This won't work in Mac OS X. You must use Unix paths.
> opendir(PDF, "$folder") || die "$!";
> @files = readdir(PDF);
> close
I've written the following to sweep a folder and set creator/type for pdf
files (coming off a Linux server). This works from MacPerl, but I really need
to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which @INC can't
locate? ( #!/usr/bin/perl use MacPerl; ... ).
#!perl
use s