Xiaolin Wu's line algorithm: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Perl}}: Fix comment: Perl 6 --> Raku)
Line 2,205: Line 2,205:


=={{header|Perl}}==
=={{header|Perl}}==
This is mostly a translation of the pseudo-code on Wikipedia, except that the $plot trick was inspired by the perl6 RosettaCode example.
This is mostly a translation of the pseudo-code on Wikipedia, except that the <code>$plot</code> trick was inspired by the Raku example.
<lang perl>#!perl
<lang perl>#!perl
use strict;
use strict;