Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 surveying the Monastery: (9)
As of 2014-09-01 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (13 votes), past polls