Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: qw space issues

by Athanasius (Abbot)
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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-06 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls