in reply to comments and qw

Sure I've had a similar desire, but since Perl doesn't allow us to do what you want to do, I don't do that. :)

If I really want to comment a list, I don't use qw(). Anything else that I might do is just added complexity that I don't need and will probably confuse later programmers.

do_something($_) for ( 'foo', 'bar', # introduced November, 2005 'baz', # deprecated - remove by December, 2006 );
--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review