Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: splitting the scalar variables in an array

by jwkrahn (Monsignor)
on Nov 16, 2013 at 10:36 UTC ( #1062874=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $hosts_per_hostclass = `/opt/systems/bin/expand-hostclass --hosts -r $
    +class` ;
    push (@TotalHosts,$hosts_per_hostclass);
    
  2. or download this
    chomp( @hosts_per_hostclass = `/opt/systems/bin/expand-hostclass --hos
    +ts -r $class` );
    push @TotalHosts, @hosts_per_hostclass;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062874]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-12-06 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.