Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Very Flexible HTML Template System

by Torgo (Beadle)
on Jun 19, 2001 at 21:09 UTC ( #89724=sourcecode: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    <segment form_option>
      <option value="{value}">{label}</option>
  2. or download this
    my %seg;
    my $content = ExtractAllSegments(ReadFile("template.html"), \%seg);
  3. or download this
    my $options;
    foreach my $form_label (sort(keys(%form_elements)_ {
      $options .= $element;
    InsertAtPlaceholder(\$content, "form_option", $options);
  4. or download this
    #  HTML Template System
    # End File Access Routines

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: sourcecode [id://89724]
[Eily]: hu, it came with 5.22 ...
Discipulus win32 is the vietnam of envs..
[Eily]: what's your perl version Discipulus ?
[karlgoethebier]: Eily, Discipulus : IMHO it's worth to ask in SoPW
[Discipulus]: dunno, it is the damned doublequote issue, i think
[karlgoethebier]: Eily: ah, i have v5.24.1

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-07-21 08:39 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (319 votes). Check out past polls.