qw(l i s t) vs (l, i, s, t)

Tor Hildrum <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
Not sure if this belongs here, but anyway:

[hildrum:~] tor% perl -e '@ARGV = qw(1 2); if(scalar(@ARGV)==qw(2 3) ) 
{print "yes\n"}'
yes
[hildrum:~] tor%

[hildrum:~] tor% perl -e '@ARGV = qw(1 2); if(scalar(@ARGV)==(2, 3) ) 
{print "yes\n"}'
[hildrum:~] tor%

&&

[hildrum:~] tor% perl -e '@ARGV = qw(1 2 3); if(scalar(@ARGV)==(2, 3) ) 
{print "yes\n"}'
yes
[hildrum:~] tor%

[hildrum:~] tor% perl -e '@ARGV = qw(1 2 3); if(scalar(@ARGV)==qw(2 3) ) 
{print "yes\n"}'
[hildrum:~] tor%

Could someone please explain what is happening here?
I came across it, and had a hard time trying to figure out what was 
going on.

Tor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.