mirror of
https://forge.murkfall.net/bluesaxman/weatherget.git
synced 2026-03-13 02:54:22 -06:00
questionable commit from work laptop
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user