![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: To read files from two dirby Ratazong (Monsignor) |
on Apr 12, 2022 at 07:13 UTC ( #11142930=note: print w/replies, xml ) | Need Help?? |
Hi Pragovnj, Will there be only one additional source? If so, the easiest way would be to duplicate the code accessing the directory ...
Of course code duplication is usually a bad idea (if you need to change something, that change needs to be done in all copies), so use it carefully. Especially, if you forsee the requirement to have more than two sources in the future. HTH, Rata
In Section
Seekers of Perl Wisdom
|
|