Values & References7 / 18
Up next

Anonymous hash

use strict;
use warnings;
use feature 'say';

# { } creates a hash with no name, just a ref
my $conf = { host => "localhost", port => 8080 };
say "$conf->{host}:$conf->{port}";
What you're solving

{ } returns a hash ref