Re: Problem with subroutine Variable "$file" will not stay shared at..
- From: pod69@xxxxxxx
- Date: 30 Dec 2006 10:15:12 -0800
oh thank u very much for your hint i solved it now like that
my $file;
use File::Find;
find {wanted => sub {$file = $_ if /$filename/ }, no_chdir => 1},
$ENV{INCA_DIST};
return $file;
and with return $file it works;
thx
.
- References:
- Prev by Date: Re: Why is this dup failing under BSD?
- Next by Date: Re: Assigning pattern matches to an array
- Previous by thread: Re: Problem with subroutine Variable "$file" will not stay shared at..
- Next by thread: Why is this dup failing under BSD?
- Index(es):