"be consistent" | |
PerlMonks |
RE: RE: REGEX: muliple search and replaceby floopy (Sexton) |
on Nov 15, 2000 at 02:26 UTC ( [id://41658]=note: print w/replies, xml ) | Need Help?? |
I'm not necessarily suggesting you do this, but if your variables are, say, $name, $email, etc. (i.e. they aren't in hashes) you can use symbolic references:
(so <!--var foo--> would be replaced by the contents of $foo.) The only real advantage to punk music is that nobody can whistle it.
In Section
Seekers of Perl Wisdom
|
|