ZimZangZoom
Programmer
- Dec 17, 2004
- 26
Hello,
I am currently making a program that will allow people to use custom tags that i have specified in the script.
For example: #NAME# is replaced with $name
Currently i have been using code such as.
$body =~s/#NAME#/$name/g;
But what if i wanted to replace #NAME# with a sub routine called &name;
How can i do such a process ?
Drew
I am currently making a program that will allow people to use custom tags that i have specified in the script.
For example: #NAME# is replaced with $name
Currently i have been using code such as.
$body =~s/#NAME#/$name/g;
But what if i wanted to replace #NAME# with a sub routine called &name;
How can i do such a process ?
Drew