Here is another possibility:
comgetter(qw(Aardgas Goud brent#olie Koper,)); sub comgetter { my @words = @_; tr/#/ / for @words; ... }
(Change # to any suitable delimiter.)
Update: Removed trailing /g from tr/#/ /.
Athanasius <°(((>< contra mundum
In reply to Re: qw space issues
by Athanasius
in thread qw space issues
by robertw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |