in reply to Eval in RegEx ...
Well, that's simple enough. Simply change
intomy $html =<<'HTML'; <div> <p>Code</p> <?perl print "<b>Hello World</b>"; ?> </div> HTML
Done. :)my $html =<<'HTML'; <div> <p>Code</p> <?perl print " <b>Hello World</b>"; ?> </div> HTML
Best wishes.
--Chris
Hey. I'm not completely useless. I can be used as a bad example.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Eval in RegEx ...
by thakares (Acolyte) on Dec 06, 2013 at 15:51 UTC | |
by taint (Chaplain) on Dec 06, 2013 at 16:04 UTC | |
by thakares (Acolyte) on Dec 06, 2013 at 16:11 UTC | |
by taint (Chaplain) on Dec 06, 2013 at 16:18 UTC |