Hello,
I have a question about making a calculation within a loop
I have a hash of hashes
##
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper qw(Dumper);
my %grades;
$grades{"Foo "}{1} = 97;
$grades{"Foo "}{2}= 107;
$grades{"Peti "}{1} = 88;
$grades{"Peti "}{3}
Hi, Nathalie
You could try the attached code.
Best
gil
On 09/09/16 12:54, Nathalie Conte wrote:
> Hello,
> I have a question about making a calculation within a loop
>
> I have a hash of hashes
> ##
> #!/usr/bin/perl
> use strict;
> use warnings;
>
> use Data::Dumper qw(Dumper);
On Tue, Sep 6, 2016 at 3:24 PM Shawn H Corey wrote:
> > #Change the value to the maximum you want
> > my %HEXCODES = map{$_ => sprintf("%03X", $_)} (0..128);
>
> my %HexCodes = map { ord($_) => sprintf '%02X', $_ } ( 0 .. 128 );
>
Just your friendly reminder that Unicode exists and unless y