Re: Show perl source on web page

2002-01-07 Thread Vilius Gaidelis
Try this: www.palfrader.org/code2html/ Vilius Gaidelis - Original Message - From: Robert Davis <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 4:25 PM Subject: OT: Show perl source on web page > Sort of offtopic. This is the only way I w

Re: Show perl source on web page

2002-01-07 Thread David Kaufman
Robert Davis [mailto:[EMAIL PROTECTED]] wrote: > > Sort of offtopic. This is the only way I was able to come up with to > show perl source on a web page. Anybody have any other methods? > I found the tag. Is there another tag that ignores tags? I did a > sub for < and > when in a print statement.

Re: Show perl source on web page

2002-01-07 Thread Robert Davis
> >-Original Message----- >From: Robert Davis [mailto:[EMAIL PROTECTED]] >Sent: Monday 07 January 2002 10:25 AM >To: [EMAIL PROTECTED] >Subject: OT: Show perl source on web page > > >Sort of offtopic. This is the only way I was able to come up with to >show p

RE: Show perl source on web page

2002-01-07 Thread Morse, Richard E.
: RE: Show perl source on web page > A slightly more trivial example would be this: > > #!/usr/bin/perl -w > use strict; > > print "Content-type: text/plain\n\n"; > my $fn = $ENV{'QUERY_STRING'}; > > my $opened = 1; > > open(my $in,