Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: qw space issues

by Athanasius (Prior)
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 browsing the Monastery: (4)
As of 2014-07-12 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls