in reply to Perl Lists and Arrays

It doesn't get that far for me as you dropped the line terminating semi-colons
You are assigning constants to nothing $list is a scalar take a look through perldata for further info
Though I think you might want to use square brackets [ ] or an array
perl -we 'use strict; my $list = [2,3,4,5,6]; my @list = [2,3,4,5,6]; print "$list \n"; print join ",", @{$list};print "\n"; print @list,"\n"' ___________________ ARRAY(0x8614880) 2,3,4,5,6 ARRAY(0x970e648)
Take a look through perlref for further info on references and accessing their values.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."