Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Escaping white space with qw//

by dga (Hermit)
on Aug 10, 2001 at 22:11 UTC ( #103978=note: print w/replies, xml ) Need Help??


in reply to Re: Escaping white space with qw//
in thread Escaping white space with qw//

Though same problem with a character in the input data which is special.

Though maybe if having the values in a compact area is desired.

my $values="one , two , three , four and a half , five"; my @array=split(' , ', $values);

This would split on a series of characters unlikely to appear naturally.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-06-19 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (83 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!