test14 199 B

1234567891011121314151617
  1. #!/usr/bin/perl
  2. #
  3. use strict;
  4. use warnings;
  5. use lib "..";
  6. use Tpl;
  7. my $tmp1 = "test14.tpl";
  8. my $j;
  9. my $tpl2 = Tpl->tpl_map("i",\$j);
  10. $tpl2->tpl_load($tmp1);
  11. $tpl2->tpl_unpack(0);
  12. print "$j\n";