Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 cooling their heels in the Monastery: (6)
As of 2020-07-09 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?