in reply to Code Viewer

Humm... I didn't get part of the code. If you have:
$openbr="<"; $closebr=">";
and
$wholepage=~s/</$openbr/g; $wholepage=~s/>/$closebr/g;
aren't you just saying
$wholepage=~s/</</g; $wholepage=~s/>/>/g;
What good does that do?
I may be missing something here.

#!/home/bbq/bin/perl
# Trust no1!

Replies are listed 'Best First'.
RE: RE: Code Viewer
by BigJoe (Curate) on May 25, 2000 at 07:57 UTC
    actually what it was supposed to be instead of
    $openbr="&lt;"; $closebr="&rt;";

    but I think something happened.