questionable commit from work laptop
This commit is contained in:
parent
19487f4901
commit
6d21607b8c
@ -95,5 +95,9 @@ else {$type=$type."...";}
|
|||||||
|
|
||||||
my $loc = substr(($weather[4] or "?????"), 0, 5);
|
my $loc = substr(($weather[4] or "?????"), 0, 5);
|
||||||
|
|
||||||
print $loc." - ".$type." ".$temp." ".$wdir." ".$wind."mph\n\n";
|
my $format = '%5.5s - %5.5s %03dC %s %03dmph';
|
||||||
|
printf( $format, $loc, $type, $temp, $wdir, $wind);
|
||||||
|
print "\n";
|
||||||
|
printf( $format, $loc, $type, $temp, $wdir, $wind);
|
||||||
|
print "\n";
|
||||||
print $color."\n";
|
print $color."\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user