Re: MacPerl INC question

2004-02-04 Thread John Gruber
and creator types are four-bytes long; the file type for PDF is PDF , with a trailing space, not PDF. So try changing the above line to: MacPerl::SetFileInfo('CARO', 'PDF ', $path); and I think you'll be set. Hope this helps, -- John Gruber | Daring Fireball [EMAIL PROTECTED

Re: Setting empty type/creator codes?

2004-02-01 Thread John Gruber
John Gruber [EMAIL PROTECTED] wrote on 1/31/04 at 3:24a: If I do this: MacPerl::SetFileInfo('', '', $f); the type and creator are set to garbage values. I can't figure out a way to do it using the developer tools' SetFile command, nor using AppleScript. The problem is that with all

Setting empty type/creator codes?

2004-01-31 Thread John Gruber
, does anyone know if '' is still the Apple-sanctioned OSType for unknown? Doing this: MacPerl::SetFileInfo('', '', $f); seems to produce the same results as setting the values to blanks. -- John Gruber | Daring Fireball [EMAIL PROTECTED]|http

Setting empty type/creator codes?

2004-01-31 Thread John Gruber
, does anyone know if '' is still the Apple-sanctioned OSType for unknown? Doing this: MacPerl::SetFileInfo('', '', $f); seems to produce the same results as setting the values to blanks. -- John Gruber | Daring Fireball [EMAIL PROTECTED]|http

Re: 10.2.x, perl 5.6.1, gcc3.1?

2003-03-31 Thread John Gruber
Lewthwaite, all I needed to do was follow these instructions: http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html *and* add -Dcc=gcc2 to the Configure switches: sudo sh Configure -des -Dfirstmakefile=GNUmakefile \ -Dldflags=-flat_namespace -Dcc=gcc2 Hope this helps. -- John Gruber

Re: OT: CVS clients and BBEdit diff tool ...

2002-12-02 Thread John Gruber
applescripts, such as those embedded in Perl scripts, I'm not sure what to suggest, other than not including version info in application file names. :^) -- John Gruber | Daring Fireball: Mac Punditry and Curmudgeonry [EMAIL PROTECTED] |http://daringfireball.net

Re: Apache on a G4

2002-03-12 Thread John Gruber
and 8. -- John Gruber [EMAIL PROTECTED]

Re: how to use DropScript?

2002-02-05 Thread John Gruber
with any shell scripting language. Hope this helps, -- John Gruber [EMAIL PROTECTED]

Re: Please

2002-01-22 Thread John Gruber
[EMAIL PROTECTED] wrote on 1/23/02 at 1:19a: Please, pretty please, carbonize MacPerl. Just curious: Why? -- John Gruber [EMAIL PROTECTED]

Re: Comments not working

2002-01-22 Thread John Gruber
will be parsed as part of that comment. -- John Gruber [EMAIL PROTECTED]

Re: Configuring /Setting Up Perl on OS X 10.1.2

2002-01-18 Thread John Gruber
to editor wars. :-) -- John Gruber [EMAIL PROTECTED]

Re: Namespace [Was: Re: MacOSX::File]

2002-01-14 Thread John Gruber
Mac OS X 11, but instead Mac OS XI, or (preferably) Mac OS 11? -- John Gruber [EMAIL PROTECTED]

Re: Help with Perl on MacOSX

2002-01-10 Thread John Gruber
is ever going to change (nor should it); Unix tools expect Unix line endings. And the high level stuff needs to remain compatible with Mac OS 9, at least for next few years, and that means Mac line breaks. -- John Gruber [EMAIL PROTECTED]

Script menu in 10.1

2001-09-25 Thread John Gruber
http://www.apple.com/applescript/macosx/script_menu/ It's a system-wide script menu for 10.1 that runs AppleScript, Perl, and Shell scripts. Hmm... -- John Gruber [EMAIL PROTECTED] Bare Bones Software http://www.barebones.com