Anonymous user
Horizontal sundial calculations: Difference between revisions
m
→{{header|Perl 6}}: comments were backwards
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Add Perl 6 example) |
m (→{{header|Perl 6}}: comments were backwards) |
||
Line 816:
=={{header|Perl 6}}==
<lang perl6>sub postfix:<°> ($a) { $a * pi / 180 } #
sub postfix:<®> ($a) { $a * 180 / pi } #
my $latitude = prompt 'Enter latitude => ';
|