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

Re: [MacPerl] MacPerl port of libwww-perl-5.31 available



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 9:13 AM +0200 4/17/98, Matthias Ulrich Neeracher wrote:

} "Paul J. Schinder" <schinder@pobox.com> writes:
} >These *don't* include the modifications that Matthias made when he
} >incorporated libwww-perl-5.13 into the MacPerl distribution.  (The reason
} >is simple: I don't use these modifications because many of them ask
} >Internet Config for things that I want to change automatically, without
} >intervention, if I have to change which ISP I'm using. Internet Config
} >won't do it for me.)  I will try to get modified 5.31 files that incoporate
} >Matthias' changes out within the next couple of weeks.
}
} I still haven't had the chance of working with InternetConfig 2, but as soon
} as 5.2.0 is out, I will look at it so we can ponder the possibility of
}multiple
} configurations.

I've installed it and made an alternate configuration, but that's about it.
I haven't read the documentation in detail.  But I don't think I'll switch
from shoving everything I do into a Net::Config file unless IC can switch
automatically based on what its current hostname is, and I don't think it
does that.  I can do what I want in Perl easily in a single file.

One thing to think about is to allow %ENV short circuits for all of the
places where you ask IC (or the System for paths, for that matter), i.e.
$ENV{NNTP_HOST}, $ENV{AFM_FONTS_DIR}, etc.:

nntp_hosts => [ $ENV{NNTP_HOST} || $InternetConfig{kICNNTPHost()} ],

That way the calls to IC can be overridden on either a per-script or global
(using the environment editor) basis.

}
} Thanks for your porting work

It's becoming less and less necessary, and given some of the hints on the
libwww-perl mailing list, it may become possible to roll the remaining
changes back into the main LWP distribution (with the caveat that LWP is
fundamentally built to return Unix text, and that won't change).   And,
although I haven't actually looked at the source code yet, LWPng, the next
generation LWP, sounds like a total non-starter under MacPerl until threads
arrive.  (Not that LWPng is threaded right now, but it sounds like it's
doing fork/exec.)

} Matthias
}
} --
} Matthias Neeracher   <neeri@iis.ee.ethz.ch>
}http://www.iis.ee.ethz.ch/~neeri
}    "One fine day in my odd past..." -- Pixies, _Planet of Sound_
}
}
}
}
} ***** Want to unsubscribe from this list?
} ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch



- -----
Paul J. Schinder
schinder@pobox.com

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNTdVgFZaVc52j0XhEQKyHgCgtJhV4RY9Y6/nQKs/kr83hKeQ3eUAoJlm
xvQT6qncUvEi4XuxIf/+1qzJ
=0l9n
-----END PGP SIGNATURE-----

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