open(TMP, "uptime.pl |") or die "$!"; while() { ($receiver,$uptime) = split; push @dataset, $uptime; push @labels, $receiver; } close TMP; #### 70CM 0 50CM 22 H-OH 0 MULTIBEAM 22 GALILEO 0 MULTIBAND 0 METHANOL 22 K-BAND 0 #### 70CM 0 50CM 0 H-OH 0 MULTIBEAM 0 GALILEO 0 MULTIBAND 0 METHANOL 0 K-BAND 0