Perl and qw

view full story

http://www.unix.com – hi Guys in perl i have the following Code: my @rooms = qw( blah blag blah ) ; That list of items can be generated from a command output Code: $ssh command how can i combine it so it dont have to manully need to add to that list something like this Code: my @rooms = qw(`$ssh comand`); thanks Adam (HowTos)