[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Perl core modules



At 18:36 -0400 98/06/12, Paul J. Schinder wrote:
> No, the situataions are not the same. First, they document plenty of the
> modules that come with Perl core, and IO is now Perl core. Second, as you
> can see from perldelta, IO is now *the* recommended OO way of dealing with
> filehandle-ish things in Perl.

Now, but not then.  Programming Perl 2nd ed. was printed 18 months ago (and
finished some months before that :-) and covers Perl 5.003.

perldelta indicates that IO:: became the approved way of doing things in
5.004. I also have it on the good authority of the IO:: module author that
the IO modules weren't part of the distributed Perl core till 5.004.

> It's as if you and Chris wrote The Book without mentioning Apple Events. I
> personally have never used one in a MacPerl script, but I'd be amazed to
> find them not mentioned in a MacPerl book. On the other hand, it's
> entirely reasonable that you don't mention, say, Display PDF (or whatever
> it's going to be called) yet.

Well, no, not really.  There is essentially nothing one can do in terms of
inter-process communication on a Mac that doesn't use AppleEvents.  There
is plenty one can do in perl without IO:: (especially in MacPerl, where you
use AppleEvents :-)

Actually, if we have to fully describe the distributed core we should have
covered all of the Toolbox modules in full detail, but that would have been
a set of books... (then again, Inside Mac is a set of books :-)

waiting for Chris to tell me I'm wrong about AppleEvents ... ;-)

- Vicki
---
Vicki Brown, vlb@cfcl.com        |\      _,,,---,,_
Journeyman Sourceror      ZZZzz /,`.-'`'    -.  ;-;;,_
Scripts & Philtres             |,4-  ) )-,_. ,\ (  `'-'
http://www.cfcl.com/~vlb      '---''(_/--'  `-'\_)
P.O. Box 1269 San Bruno, CA  94066

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch