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}";
{ } returns a hash ref