Ada apa ya..., aku nyoba perl, tapi 505 lima terus....
Kodeku ini:
<TMPL_LOOP NAME=EMPLOYEE_INFO>
Name: <TMPL_VAR NAME=NAME> <br>
Job: <TMPL_VAR NAME=JOB> <p>
</TMPL_LOOP>
-------------------------------------------------------------------
#!/usr/bin/perl5.8.6
use HTML::Template;
-
# deklarasikan html template
my $template = HTML::Template->new(filename => "test.tmpl");
$template->param(EMPLOYEE_INFO => [
{ name => "eko", job => "programmer" },
{ name => "bambang", job => "desainer" },
{ name => "ifud", job => "translator" },
] );
print $template->output();
"This is my way being a linuxer..."
http://jogja.linux.or.id
http://jogja.linux.or.id/wiki/
Untuk berhenti langganan silahkan kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/jogja-linux/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/