F
fatted
I have a simple program:
#!/usr/bin/perl
use warnings;
use strict;
use CGI;
my $q = new CGI;
my @array = $q->param;
map(print($_."\n"),@array);
If I call this from the command line as:
../simple.pl < a.req
On a linux machine running 5.6.0, this prints out the parameter keys
(taken from file a.req), preceded by "(offline mode: enter name=value
pairs on standard input)".
However on a linux machine running 5.8.0, the same program and
command line, prints nothing. (No parameters found). (And doesn't
print the line "ofline mode...")
What am I missing??
#!/usr/bin/perl
use warnings;
use strict;
use CGI;
my $q = new CGI;
my @array = $q->param;
map(print($_."\n"),@array);
If I call this from the command line as:
../simple.pl < a.req
On a linux machine running 5.6.0, this prints out the parameter keys
(taken from file a.req), preceded by "(offline mode: enter name=value
pairs on standard input)".
However on a linux machine running 5.8.0, the same program and
command line, prints nothing. (No parameters found). (And doesn't
print the line "ofline mode...")
What am I missing??