jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
#!/usr/bin/perl my @list = qw( "a" , # comment "b" , # another comment ); print "val :$_:\n" foreach @list;
when you run the above code all are getting printed. why the perl does not understand the comment inside qw()
I am interested to know what is happening inside.
Please explain me in code point if View.
Thanx in advance ...
"Keep pouring your ideas"
2005-10-29 Retitled by davido, as per Monastery guidelines
Original title: 'why the perl behaves like this'
2005-10-30 Retitled by planetscape, as per Monastery guidelines
Original title: 'Explain comments in qr// quoted data'
Back to
Seekers of Perl Wisdom