in reply to scalar context confusion
By surrounding it in quotes you are asking for the values to be interpolated into a string separated by $" (default space character). See http://perldoc.perl.org/perldata.html or type "perldoc perldata" for more information.my @list = qw/malay manab milan anand/; my $count1 = scalar @list; # these are my $count2 = @list; # the same
|
|---|