Think about Loose Coupling | |
PerlMonks |
Re^3: Collapsing smaller scripts into a larger one, request for commentby jcb (Parson) |
on May 31, 2020 at 00:48 UTC ( [id://11117516]=note: print w/replies, xml ) | Need Help?? |
For each index.pl in the equivalent of find . -name index.pl, try ($dir = $indexfile) =~ s!^[.]/!./files/data/! and glob $dir.'*.txt' (obviously untested) as a starting point, if the files in those directories correspond to menu items.
In Section
Seekers of Perl Wisdom
|
|