Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Should be simple, What don't I see?

by Aristotle (Chancellor)
on May 31, 2002 at 00:29 UTC ( [id://170567]=note: print w/replies, xml ) Need Help??


in reply to Should be simple, What don't I see?

use strict; use HTML::Entities (); my $firstName = 'first'; my $lastName = 'last'; my $email = 'email@email.com'; # do it The One Correct Way print HTML::Entities::encode("$firstName $lastName <$email>");
See also: perl.com: Preventing Cross-site Scripting Attacks

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-07-19 08:49 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.