Perl Monk, Perl Meditation | |
PerlMonks |
Re: Not able to execute perl sub routineby Laurent_R (Canon) |
on Dec 03, 2016 at 10:24 UTC ( [id://1177124]=note: print w/replies, xml ) | Need Help?? |
Assuming that Athanasius's comment will solve your issue, I would just further comment that you should probably consider using one or two array(s) of directories rather than having all these $dir1, $dir2, ..., $dirs, $dirt, etc. variables.
And of course, I agree that you should most probably avoid the function call with a leading ampersand.
In Section
Seekers of Perl Wisdom
|
|