That's an SSI (Server Side Include) command, not specifically a Perl command. You'll need to indicate to your web server somehow that it should parse the page and execute SSI commands. Often, this is done by enabling an SSI handler for pages with the shtml extension.
Basically, this is a web server configuration question, since the SSI command shows up in the HTML source.