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

Re: Populating an HTML Template

by injunjoel (Priest)
on Mar 28, 2006 at 00:15 UTC ( #539591=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $line (@allow_edit){ .... }
    
  2. or download this
    my @loop;
    #fill in the array @loop with hash references from @allow_edit...
    ...
        my($name, $value) = split /=/,$_; 
        push @loop, {$name=>$value};
    }
    
  3. or download this
    <!-- start of loop -->
    <TMPL_LOOP NAME="loop">
    ...
                    </tr>
    </TMPL_LOOP>
    <!-- end of loop -->
    
  4. or download this
    my @loop;
    #fill in the array @loop with hash references from @allow_edit...
    ...
        my($name, $value) = split /=/,$_;
        push @loop, {part1=>$name, part2=>$value};
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2020-10-26 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (254 votes). Check out past polls.

    Notices?