The code itself looks fine.
PBP will tell you to:
Update: You should have use strict; and use warnings; at the top of your code. I realise this is just a code fragment and you may have those lines in the complete script - but you did ask :-)
-- Ken
In reply to Re: Using Templates
by kcott
in thread Using Templates
by PyrexKidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |