target="_newwindow" in a A HRef tag, or to use JavaScript. Perl & PHP are server-side languages only, i.e. they are there only to tell the browser what to do through HTML, XML, and Javascript.
Therefore, it looksk like JavaScript is your only friend in this instance.
JP