Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: splitting the scalar variables in an array

by Athanasius (Canon)
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 exploiting the Monastery: (12)
As of 2016-09-29 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (557 votes). Check out past polls.