in reply to problem with do and file existence.
Or else, why don't you use some alternate flow control construct? For example:
or something like that;for ($file) { # for aliasing too last unless -e; unless (my ret=do $_) { # ... } }
But seriously, you may consider making that file into a proper module...
|
|---|