Help for this page

Select Code to Download


  1. or download this
    local $ARGV = ($templfile);
    my $i = '';
    ...
    # cleanup:
    delete $hashref->{''};
    
  2. or download this
    while (<>)
    {
    ...
    s/^\s*<\s*TEMPLATE\s+NAME="(.*?)"\s*>\s*//i 
        for values %$hashref;
    
  3. or download this
    local $/;
    local $_ = <>;
    
    %$hashref = /\s*<\s*TEMPLATE\s+NAME="(.*?)"\s*>(.*?)\s*<\s*\/\s*TEMPLA
    +TE\s*>/sig;