Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: splitting the scalar variables in an array

by soonix (Prior)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062863]
help
Chatterbox?
[hippo]: It's always good to start the day with a laugh and Re^2: Subroutine processes only one file in the directory has genuinely made me do so. Well done, sridhar56!
[Discipulus]: :=)
[johngg]: hippo Yes, that's a cracker :-D
[Discipulus]: hippo take a look at Re^2: Cookie->fetch problem

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-05-26 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?