Can someone help on this one?

I created the following code to search for extention .PBD files in the
htdocs/PBD folder while using the apache webserver.  However it will only
search in the cgi-bin folder for these files.  What am I doing wrong?

#!/perl/bin/perl

use warnings;
use strict;
use CGI qw( :standard );

my $root = qq{c:/Program Files/Apache Group/Apache2/htdocs/PBD/};
opendir (DIRHANDLE, "$root");
my $glob = "*.PBD*";
my @files = glob($glob);
my $files = @files;
closedir (DIRHANDLE);

thanks



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to