Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: splitting the scalar variables in an array

by soonix (Deacon)
on Nov 16, 2013 at 08:14 UTC ( #1062863=note: print w/ replies, xml ) Need Help??


in reply to splitting the scalar variables in an array

I would move the split and print out of the loop.
Update: wasn't yet awake... push @TotalHosts, split ... IN the loop, and print, of course, after the loop.


Comment on Re: splitting the scalar variables in an array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-07-29 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls