in reply to Re: Transversing thru dir using regex rather than a absolute path
in thread Transversing thru dir using regex rather than a absolute path
$val="D:\\VmWare\\*"; find(\&print_name, "$val"); sub print_name { push(@array_name,$File::Find::name); } foreach $val(@array_name) { print "$val \n"; }
actually i have more paths where u have * in middle of the path also.The output of above is giving as empty
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Transversing thru dir using regex rather than a absolute path
by Anonymous Monk on Apr 12, 2010 at 10:14 UTC |