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

Re: [MacPerl] Re: mini-browser in PERL



At 6:10 PM +0100 3/12/97, Matthias Ulrich Neeracher wrote:
> lauzzana@netcom.com (Raymond Lauzzana) writes:
> >Has anyone built a mini-browser in PERL that is
> >independent of HTTP, etc. In otherwords it would
> >work more or less like hypercard.
> >
> >It would be extremely useful for debugging
> >PERL scripts that generate HTML on the fly
> >without connecting to the network.

Well...

...what I've been able to do (from a tip I got from one of the Mac WWW
server tutorials) is fake my home machine into *thinking* it's on a network.

With OpenTransport, I created a "local" configuration:

	Connect via AppleTalk IP
	Configure Manually

and then you have to basically create your own "bogus" IP number.

Once you've got that running, you can start a WWW server like Quid Pro Quo,
it'll bind to your faux address, and you can use Netscape to connect to it
via "http" links.

It's quite surreal, and handy for debugging scripts.

In theory, the TCP Guide sez you can setup faux DNS as well, but I've only
gotten things to work using the IP address, e.g. http://141.211.162.99/.

Give it a try :)

Roger

---------------------------------------------------------------------------
Roger Espinosa                         roger@umich.edu
Office of Instructional Technology     313/763-4677 (FAX: 313/763-4663)
University of Michigan                 http://www.oit.itd.umich.edu/~roger/