mirror of
https://github.com/troydhanson/tpl.git
synced 2024-12-26 23:57:25 +08:00
18 lines
199 B
Perl
Executable File
18 lines
199 B
Perl
Executable File
#!/usr/bin/perl
|
|
#
|
|
use strict;
|
|
use warnings;
|
|
|
|
use lib "..";
|
|
use Tpl;
|
|
|
|
my $tmp1 = "test14.tpl";
|
|
|
|
my $j;
|
|
my $tpl2 = Tpl->tpl_map("i",\$j);
|
|
$tpl2->tpl_load($tmp1);
|
|
$tpl2->tpl_unpack(0);
|
|
print "$j\n";
|
|
|
|
|