- or download this
foreach my $tag ( _all_html_tags() ) {
eval "sub $tag {
...
}";
...
# again for end and start tags
- or download this
foreach my $tag ( _all_html_tags() ) {
*$tag = sub { return _tag_func($tag,@_); }
...
- or download this
DB<106> $tmpl = '$#abc#=15'
=> "\$#abc#=15"
...
DB<111> $str
=> 15
- or download this
eval sprintf <<'__CODE__', $tag;
sub %1$s {
"<%1$s>",@_,"</%1$s>";
}
__CODE__