[Top][All Lists]

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

Re: LYNX-DEV lynx and perl

From: Chris Maden
Subject: Re: LYNX-DEV lynx and perl
Date: Fri, 19 Sep 1997 14:29:34 -0400

[Klaus Schilling]
> > Is it feasible to embed a perl interpreter into Lynx and then let
> > it interprete perl5-scripts in html-pages ,enclosed in suitable
> > script -tags?  Maybe a pipe to the standard perl interpreter would
> > serve for the same purpose.  The safety risk is sure huge,
> > anyways.

That's putting it mildly.  I think this would be a *very* bad idea,
unless someone defines a safe PerlScript subset or something.
JavaScript and Java, at least in theory, are severely restricted in
what they can do; Perl has no such limitation.  HTML authors could
perform arbitrary actions on your system.

> For a good idea of what scripts should and should not be able to do,
> see _JavaScript: The Definitive Guide; 2nd ed._, by David Flannagan,
> O'Reilly & Assoc.  Don't bother with the Beta edition -- it's way
> out of date.

Now available as part of the _Webmaster in a Nutshell Deluxe Edition_
CD-ROM - the first thing I did here was struggle with the Perl script
from hell that made the book into HTML.  I *think* Jess and I got all
the links working on the CD... (-:  A good reason to get JavaScript
working in Lynx - chapters with many sections get a JavaScript menu
for the table of contents, instead of just a list of links.

The 'l' key in Lynx was invaluable when getting the conversion

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL> <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]