jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; + + my @list = q('Ashok Hello'); + print "val: $_\n" foreach @list; @list = qw('Ashok Hello'); print "val: $_\n" foreach @list;
why the Space is not Interpolted in the first foreach loop. can you please explain me how the internal goes here.Output is as follows :- val: 'Ashok Hello' val: 'Ashok val: Hello'
"Keep pouring your ideas"