Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: split line

by pc88mxer (Vicar)
on Jul 28, 2008 at 21:09 UTC ( #700644=note: print w/ replies, xml ) Need Help??


in reply to split line

Try:

my @config = split / /,$line; # or: my @config = split ' ', $line;
You were telling perl to split on the string quote-space-quote.


Comment on Re: split line
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-07-10 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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








    Results (203 votes), past polls