in reply to Stopping HTML via Perl

The situation you describe won't work. I don't think there is any way for a program invoked by a server-parsed html file to tell the web server not to return the page.

If you want to keep a page from being presented to non-local users, your best bet is to do it through web server settings. I don't know of a web server that won't allow you to limit access by IP address. It may also be possible on a per-directory basis using .htaccess files.

--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';