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

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

Hi moks,

#!/usr/bin/perl use strict; + + my @list = q('Ashok Hello'); + print "val: $_\n" foreach @list; @list = qw('Ashok Hello'); print "val: $_\n" foreach @list;


Output is as follows :- val: 'Ashok Hello' val: 'Ashok val: Hello'
why the Space is not Interpolted in the first foreach loop. can you please explain me how the internal goes here.

"Keep pouring your ideas"