Add a joiner to multiinstructions.
[artemus.git] / waste / a.pl
blobc789bbbd5f5cbfd4937fbbd5ced81b3ad6cf0952
1 #!/usr/bin/perl
3 use Artemus;
5 @unresolved=();
7 %vars=(
8 "link" => '<a href="$0">$1</a>',
9 "autolink" => '{-link|{-http|$0}|$0}',
10 "http" => 'http://$0'
13 $ah=new Artemus( "vars" => \%vars,
14 "unresolved" => \@unresolved,
17 $t=$ah->armor("{-template}");
18 print "$t\n";
20 $t=$ah->params('Este $0 parece un $1',"chirifĂș","guarripĂ©");
21 print "$t\n";
23 $t=$ah->process('{-autolink|192.168.1.1} {-localtime} {-\VERSION}');
24 print "$t\n";