Tagged Questions
0
votes
0answers
59 views
glob in perl doesn't work on RHEL 6.2 webserver
here's a very simple script:
[root@poker cgi-bin]# cat globtest.pl
#!/usr/bin/perl -w
my $foo="/tmp/*";
my @glob=glob($foo);
my $size=scalar(@glob);
print "Content-type: text/html\n\n";
print ...