Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Word HTML issues

by Animator (Hermit)
on May 15, 2005 at 20:57 UTC ( #457293=note: print w/replies, xml ) Need Help??


in reply to Re: Word HTML issues
in thread Word HTML issues

The OP changed his question into:

How does that script work with all the # in it?

I assume this was ment to be a reply to this post, so I'll post my answer here.

The # in s#class=section#class="Section"#sg; for example is used as a regex-delimiter, not as a comment. It is the same as s/class=section/class="Section"/sg; except that with s/// you would need to escape the / (which could make it less readable, but that does not apply in this case since it has no / in the regex)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2021-01-19 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?