I'm running perl under AIX. My simple test script is
i.e. just the basics
I then mount a CD under mnt and it only finds the top level, it does not descend into directories. If I amend the code so that the search path is , for example ".", it works perfectly.
I've Googled this and searched Tec-Tips but cannot find what I'm doing wrong. Any pointers please.
Ceci n'est pas une signature
Columb Healy
Code:
#!/bin/perl -w
use strict;
use File::Find;
sub go
{
print "$File::Find::name\n";
}
find \&go, "/mnt";
I then mount a CD under mnt and it only finds the top level, it does not descend into directories. If I amend the code so that the search path is , for example ".", it works perfectly.
I've Googled this and searched Tec-Tips but cannot find what I'm doing wrong. Any pointers please.
Ceci n'est pas une signature
Columb Healy