Mac:: on Mac OS X

| | Comments (0)
So I want to get Mac::Glue to work on Mac OS X, and I am porting a few Mac:: XS modules. First up was the simplest, Mac::Types. Then I did Mac::Memory. The next few -- Mac::Files, Mac::MoreFiles, Mac::Resources, Mac::Processes -- all require GUSI, so I am going to have to do something about those; it shouldn't be too hard, the functions needed are mostly just converting paths to FSSpecs and back. Then there's Apple events. It could prove to be a challenge; I'm not yet sure.

So far the issues popping up, aside from disabling unsupported functions and providing missing GUSI functionality, there are just some common .h-type things to provide, a few common functions, and ... $^E. $^E cannot be hacked into perl on Mac OS X, so it will require a porting of scripts that use the Mac:: modules. I figure I'll have a Mac::Carbon module or something that will provide a MacError() function to retrieve $^E. Maybe a tie'd variable. I dunno. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on July 31, 2002 5:45 PM.

Focus Camera was the previous entry in this site.

Mac::Memory, Mac::Carbon is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.