Command to install perl CPAN modules on UNIX/Linux:
perl -MCPAN -e 'install HTML::Template'
Command to install active perl CPAN modules on Windows:
If you are using ActiveState Perl on a windows based server, then you can use the PPM command-line utility.
from the /bin sub folder of perl type:
ppm
then type:
install HTML::Template