Magic squares/Perl: Difference between revisions

m
Fix link: Perl 6 --> Raku
m (Try to fix bogus multiple reporting of task entries)
m (Fix link: Perl 6 --> Raku)
 
(One intermediate revision by one other user not shown)
Line 1:
{{collection|Magic_squares_of_odd_order}}
Rather than having multiple examples for different orders of magic square, this program generates a magic square for ''any'' valid n x n grid.
 
Line 8 ⟶ 7:
</ul>
 
 
=={{header|Perl}}==
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[Perl]]</span><hr>
{{trans|Perl 6Raku}}
<lang perl>use strict;
use warnings;
2,392

edits