Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: splitting the scalar variables in an array

by Athanasius (Chancellor)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-03-28 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.