perlquestion
Hoot
I have the following:
<CODE>
#!/usr/bin/perl -w
use strict;
use diagnostics;
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
print header(), start_html("Address Book for \u$ENV{USER}"), h1("Use Address Book");
</CODE>
What I want is the Title to read
<br>"Address Book for Hoot"
<br>but at the moment it is printing
<br>"Address Book for - Netscape"
<p>When I run the code from the command line it expands <br>$ENV{USER} and prints to the terminal:
<br>"Address Book for Hoot"
<p>Can someone tell me why it doesn't expand when called from the browser?
<p>I am using RH9.0
<p>perl -v:
This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)