# try this $page_template =~ s/\$(\w+)\$^\w/$input->param($1)/eg; $page_template =~ s/\$(\w+)\$lc_/$input->param(lc($1))/eg; $page_template =~ s/\$(\w+)\$uc_/$input->param(uc($1))/eg;
In reply to Re: Do regex using hash keys to wrapped template tokens
by little
in thread Do regex using hash keys to wrapped template tokens
by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |