Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: qw space issues

by Athanasius (Canon)
on Aug 26, 2012 at 03:49 UTC ( #989780=note: print w/ replies, xml ) Need Help??

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

Comment on Re: qw space issues
Download Code
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:)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989780]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-02-07 09:48 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (250 votes), past polls