in reply to Format values into a hash question

Next up is this:

my $new_row=();

What does that do?

use strict; use warnings; use 5.016; my $new_row = (); if (defined $new_row) { say 'yes'; } else { say 'no'; } --output:-- no