|
Posted by alexjaquet on 04/25/06 18:35
Hi,
I'm looking for a way to replace some variables for example in perl I
do :
#replace all $LABEL variables with corresponding values from $SERVER
var
s/\$LABEL{'([\w]+)'}/ exists $SERVER{$1} ? $SERVER{$1} : $1 /eg;
#replace $LANG var with the value of $lang
s/\$LANG/$lang/g;
Navigation:
[Reply to this message]
|