http://www.perlmonks.org?node_id=998332

TinkerTantrum has asked for the wisdom of the Perl Monks concerning the following question:

Hello Fellow Monks! First of all let me say that it is an honor to be accepted into the Monastary. As an Initiate Programmer I have chosen Perl as my 1st language to learn. I could probably figure out the answer to this question myself due to the superior documentation of Perl on Linux, but I would rather get some interaction going with my fellow Monks. Anyway, this is my code:

use warnings; $rocks = [1..23]; @rocks = qw/hail slate poop drop/; print $rocks;

Here's the output:

ARRAY(0x1434d80)

My question is:What is this doing? And why?