mikelupo has asked for the wisdom of the Perl Monks concerning the following question:
but lo, it does not work.my $var = $Find::File::name;
print $Find::File::name;
Any takers?sub Wanted { return unless (-f $_); # only operate on compiled widgets /\.wgt$/ or return; my $file = $_; chomp ($file); chomp ($line); #print $file ." \n" if $file eq $line; if (lc($line) eq lc($file)){ print $File::Find::name. "\n"; #my $foundFile = $File::Find::name. "\n"; #this does not work +hence it is commented out!! } return; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Help using Find::File::name
by stefbv (Priest) on Nov 28, 2010 at 10:35 UTC | |
Re: Help using Find::File::name
by pobocks (Chaplain) on Nov 28, 2010 at 07:39 UTC | |
Re: Help using Find::File::name
by 7stud (Deacon) on Nov 27, 2010 at 23:29 UTC | |
by Anonymous Monk on Nov 28, 2010 at 03:29 UTC | |
Re: Help using Find::File::name
by Anonymous Monk on Nov 27, 2010 at 23:32 UTC |