|
I haven't read the -entire- script, but just glancing, I suggest adding the "g" to your substitution syntax.
$outShader =~ s/$DIR/$dir/g;
$outShader =~ s/$TEX/$file/g;
__________________
http://jasonpowers.net
"There are a thousand hacking at the branches of evil to one who is striking at the root."
|