in reply to Re: Array qw difference
in thread Array qw difference

Sorry, I forgot to use #comments for the first array @tests. Also strict and warning. I am just trying to understand why the array assignment is behaving differently between the two. Ah okay you mean the 2nd one is an array of array. Okay, I understand now. It's an array within an array. Got it! Thanks

Replies are listed 'Best First'.
Re^3: Array qw difference
by AnomalousMonk (Archbishop) on Nov 30, 2021 at 00:32 UTC

    The AoA, HoH, etc., nomenclature is discussed at length in the Perl Data Structures Cookbook (perldsc).

    Update: BTW: You've once again updated a post without citation. Naughty, naughty!


    Give a man a fish:  <%-{-{-{-<