Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
good chemistry is complicated,
and a little bit messy -LW
 
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 studying the Monastery: (10)
As of 2014-04-17 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls