Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-10-30 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls