Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-12-19 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (75 votes), past polls