At 2:11 PM -0700 12/4/99, Dick Applebaum wrote: >Mike > >Not a Perl problem, but an HTML feature... > >HTML considers <......> as Tags. > >Any tag that it doesn't understand it ignores. > >You can circumvent this by changing > > from....... < > > to......... < Wouldn't it be better just to fix the server so that it served Perl scripts with the right MIME type? Having to encode all of the forbidden (there are more than just < and >) HTML characters in each Perl script you put on a web site would be a real pain, and anyone who downloads the thing in raw (Netscape calls it "source") mode won't be able to use the script as intended. The MIME types should be set so that Perl scripts are text/plain. >HTH > >Dicl > > > > >At 12:05 PM -0800 12/4/99, Mike Schienle wrote: >>Hi folks - >> >>I'm fairly new to Perl. I usually place my source code on an HTML >>server to share. I just wrote a reply where I mentioned some code >>and took a look at it. While it's mostly intact, there are some >>places where it gets butchered. >> >>This line on the web site: >>$line = ; >> >>in the source code it is actually: >>$line = <INSIGHT>; >> >>The problems is obvious and I figured someone has already tackled >>this. I'm still trying to find my way around the CPAN modules. Can >>someone give me a clue what I need to handle this? >> >>Thanks, >> >>Mike Schienle Interactive Visuals, Inc. >>mgs@ivsoftware.com Remote Sensing and Image Processing >>http://www.ivsoftware.com/ Analysis and Application Development >> >># ===== Want to unsubscribe from this list? >># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org > > ># ===== Want to unsubscribe from this list? ># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org -- Paul Schinder schinder@pobox.com # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org