for more info: perldoc File::Find
within your "wanted" sub the default variable $_ is set to the name of the
current filename within the current directory.
$File::Find::dir gives you the path of the current directory
$File::Find::name gives you the full path to the current file
(there are some o
Shawn Sharp
Cc: [EMAIL PROTECTED]
Subject: RE: searching for files using perl
Shawn Sharp wrote:
> 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
oops...
perldoc File::Find (not Find::File ...duh)
-Original Message-
From: Peter Kappus
If you're just searching for files, this is probably a great opportunity to
use the File::Find module. I reinvented the wheel about four times before I
discovered this one...d'oh!
oh yeah,
Shawn Sharp wrote:
> 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?
If you're just searching for files, this is probably a gre
Shawn Sharp wrote:
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;
us