Kashif Salman wrote:
On Fri, Mar 14, 2008 at 11:10 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> The -w switch enables warnings dynamically, and apparently CGI.pm isn't
> 'warnings safe'. To get rid of those warnings, you can replace the -w
> switch with the warnings pragma, which is
On Fri, Mar 14, 2008 at 11:19 AM, Kashif Salman <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 14, 2008 at 11:10 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]>
> wrote:
> > Kashif Salman wrote:
> > > I got this example code from the book "CGI Programming with Perl"
> > >
> > > #!/usr/bin/perl -wT
>
On Fri, Mar 14, 2008 at 11:10 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Kashif Salman wrote:
> > I got this example code from the book "CGI Programming with Perl"
> >
> > #!/usr/bin/perl -wT
> >
> > use strict;
> > use CGI;
> >
> > my $q = new CGI;
> > print $q->header( "text/pla
Kashif Salman wrote:
I got this example code from the book "CGI Programming with Perl"
#!/usr/bin/perl -wT
use strict;
use CGI;
my $q = new CGI;
print $q->header( "text/plain" );
print "These are the HTTP environment variables I received:\n\n";
foreach ( $q->http ) {
print "$_:\n";
p
I got this example code from the book "CGI Programming with Perl"
#!/usr/bin/perl -wT
use strict;
use CGI;
my $q = new CGI;
print $q->header( "text/plain" );
print "These are the HTTP environment variables I received:\n\n";
foreach ( $q->http ) {
print "$_:\n";
print " ", $q->http( $_