You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
282 B
Perl

$emptytext = "<div class=\"function_small\" >" .
"<!xml=###INCNAME###,function_small.xsl>" .
"</div>";
$file = "gfx_haha_i";
$file =~ /(.*)_i/;
$file = $1;
$filename = $emptytext;
$filename =~ s/###INCNAME###/$file/g;
print $filename;