Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re^3: View The HTML ???

by halley (Prior)
on Aug 26, 2003 at 16:18 UTC ( [id://286772]=note: print w/replies, xml ) Need Help??


in reply to Re^3: View The HTML ???
in thread View The HTML ???

If you're not going to use the CGI or other already-invented wheels, do make sure you get your ordering right, or you'll end up with <BR>  all over the place.
for (@HTML) { s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; }

If you really wanted to use the map method, you don't need intermediate variables for each possible step. @finished = map { ... } map { ... } map { ... } @originals works just fine. (The last mentioned map is performed first.)

--
[ e d @ h a l l e y . c c ]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-06-15 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.