Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: splitting the scalar variables in an array

by Athanasius (Monsignor)
on Nov 16, 2013 at 06:55 UTC ( #1062858=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @dd = split "\n", @TotalHosts;
    
  2. or download this
    my   @dd;
    push @dd, split "\n", $_ for @TotalHosts;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-08-02 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls