Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: AIX harddisk sum of storageby Lotus1 (Vicar) |
on Jul 22, 2018 at 20:20 UTC ( [id://1219054]=note: print w/replies, xml ) | Need Help?? |
my $space = $SSH root\@$one for i in lspv | awk '{print \$1}'; It looks to me like everything past $SSH is going to be seen as barewords on this line. There is a lot being attempted so maybe the best approach is to simplify. Comment out two thirds of this code and get it working before adding in each line one at a time. For us to help you please show a complete program, using warnings and strict, and provide the warnings and errors you are seeing.
In Section
Seekers of Perl Wisdom
|
|