in reply to qw space issues

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

Replies are listed 'Best First'.
Re^2: qw space issues
by robertw (Sexton) on Aug 26, 2012 at 04:13 UTC
    Thanks to all of you, very helpful:)