in reply to Re^13: Thanks to Ikegami, Chromatic & Corion
in thread Thanks to Ikegami, Chromatic & Corion

$maskCopy =~ s@<some_marker>@$item@gs;

But what if $item was HTML from a database instead of being hardcoded aXML...

Replies are listed 'Best First'.
Re^15: Thanks to Ikegami, Chromatic & Corion
by Logicus (Initiate) on Nov 03, 2011 at 02:17 UTC

    Well you wouldn't want to be putting the <ul> tags in then.

    Ok so...

    If our database looked like this

    pageid int primary key auto_increment, name varchar(255), html text Then (db_get)pages.name="(sqd)name(/sqd)".html(/db_get)

    Then localhost:5000?action=test&name=homepage will be displaying the contents of the html column of the pages db.

      Did your post get cut short? You were trying to prove to me that your plugin wasn't buggy.

      Or are you saying that the result of (plugin)(/plugin) isn't searched for tags? I thought it was the same as <plugin></plugin> except for precedence.

      A reply falls below the community's threshold of quality. You may see it by logging in.