Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: perl substitute

by LanX (Bishop)
on Nov 03, 2013 at 21:34 UTC ( #1061078=note: print w/replies, xml ) Need Help??


in reply to Re: perl substitute
in thread perl substitute

> You alternate between slashes and hashes for regexp delimiters for no apparent reason

Well he needs another regex-delimiter an substitutions with </end> tags to avoid the slash.

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: perl substitute
by hippo (Abbot) on Nov 03, 2013 at 22:48 UTC

    Sure, but that's no reason to alternate - just use hashes throughout. Inconsistency is the bug's friend. :)

Re^3: perl substitute
by ambrill (Novice) on Nov 04, 2013 at 02:10 UTC
    Thank you. This helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061078]
help
Chatterbox?
[Discipulus]: ah ah I have two post in weekkly best! free coffe for all!
[Corion]: Gratulations! :-D

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-02-22 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (289 votes). Check out past polls.

    Notices?