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

Re: splitting the scalar variables in an array

by soonix (Canon)
on Nov 16, 2013 at 08:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1062863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-18 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found