use strict; use warnings; my $dwarfs = [ qw(Doc Grumpy Happy Sleepy Sneezy Dopey Bashful) ]; print "@{$dwarfs}\n"; print "@dwarfs\n"; #### Possible unintended interpolation of @dwarfs in string at ... line 7. Global symbol "@dwarfs" requires explicit package name at ... line 7. Execution of ... aborted due to compilation errors.