Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Escaping white space with qw//

by dga (Hermit)
on Aug 10, 2001 at 22:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-20 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found