Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Template::Toolkit - How do i access alias-based results?

by Yaerox (Scribe)
on Jul 13, 2015 at 14:23 UTC ( #1134515=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
                                [% FOREACH user = query.execute() %]
    ...
                                    </tr>
                                    
                                [% END %]
    
  2. or download this
    $VAR1 = { 'DATUM' => '09-JUL-15', 'STATUS' => 'Eingelesen', 'NR' => '1
    +1000530', 'NACHRICHT' => '528', 'aNR' => '8041094A' }; $VAR1 = { 'aNR
    +' => '8033010E', 'NR' => '11000527', 'STATUS' => 'Eingelesen', 'NACHR
    +ICHT' => '1559', 'DATUM' => '09-JUL-15' }; [...]
    
  3. or download this
    print "Content-type: text/html\n\n";
    my $oTT = Template->new({
    ...
    };
    
    $oTT->process("../templates/mytemplate.html", $sData) || die $oTT->err
    +or(), "\n";
    
  4. or download this
    
    [% FOREACH line IN result %]
    ...
      [% line.VERTRAGSNUMMER %]
      [% line.ARTIKELNR %]
    [% END %]
    
  5. or download this
    $VAR1 = '11000530'; $VAR1 = '8041094A'; $VAR1 = 'Eingelesen'; [...] 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1134515]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-02-19 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (266 votes). Check out past polls.

    Notices?