teddy6507 has asked for the wisdom of the Perl Monks concerning the following question:
i would like to assign the printed result of the Find() into a variable so that i can process from there. how to modify the codes? i have tried many ways to no avail.
output after running the Find:use File::Find; find ( sub { print $File::Find::name , "\n" if /\.lef$/ } , @filter +ed);
aaa/bbb/ccc/cell_a.lef aaa/bbb/ddd/cell_b.lef aaa/ccc/eee/cell_a.lef
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to assign output of find() into a variable
by Athanasius (Archbishop) on May 18, 2016 at 07:39 UTC | |
by teddy6507 (Initiate) on May 18, 2016 at 07:57 UTC | |
|
Re: how to assign output of Find() into a variable $
by GrandFather (Saint) on May 18, 2016 at 08:00 UTC | |
by Tux (Canon) on May 18, 2016 at 09:30 UTC | |
by GrandFather (Saint) on May 18, 2016 at 09:37 UTC | |
by BillKSmith (Monsignor) on May 18, 2016 at 13:21 UTC | |
by GrandFather (Saint) on May 18, 2016 at 21:23 UTC | |
|
Re: how to assign output of Find() into a variable $
by beech (Parson) on May 18, 2016 at 08:32 UTC |