Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: string splitting with spaces and HTML

by Abigail (Deacon)
on Jul 11, 2001 at 16:28 UTC ( #95651=note: print w/replies, xml ) Need Help??


in reply to Re: string splitting with spaces and HTML
in thread string splitting with spaces and HTML

You are wrong that in HTML the mentioned >s need to be escaped. They don't. Nor do all <s be escaped. A < followed by a space is just fine. Just like <#. Don't forget that HTML is an SGML application. Real men deal with SGML. XML is for people who can't parse their way out of a wet paper bag. And in XML, such <s and >s need to be escaped.

-- Abigail

  • Comment on Re: string splitting with spaces and HTML

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://95651]
help
Chatterbox?
[LanX]: '&;@' is a parsing error
[GotToBTru]: by itself, yes, but used in sub pre(&;@) not so
[LanX]: &; is interpreted as a function call, but the @ has no meaning
[LanX]: OH
[LanX]: you are talking about signatures?
[GotToBTru]: yes, it turns out I am
[LanX]: http://perldoc. perl.org/perlsub. html#Prototypes
[GotToBTru]: that page, strangely enough, never mentions that construct
[LanX]: ; is for optional prototypes
[LanX]: & is codeblock @ array

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-01-18 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (164 votes). Check out past polls.