develooper Front page | perl.perl5.porters | Postings from May 2004

Re: Comments under qw/.../

Thread Previous
From:
Dave Mitchell
Date:
May 4, 2004 14:51
Subject:
Re: Comments under qw/.../
Message ID:
20040504215558.GF1884@iabyn.com
On Sun, Apr 25, 2004 at 09:20:42PM +0100, Alberto Manuel Brandao Simoes wrote:
> OK, this is not true. \# is not undestood as # but really as \#.
> This is weird :)
> >Hi.
Form perlop:

    Customary  Generic        Meaning	     Interpolates
	''	 q{}	      Literal		  no
	""	qq{}	      Literal		  yes
	``	qx{}	      Command		  yes*
		qw{}	     Word list		  no
                                                  ^^
						  XX
> >
> >Perl is issuing an
> >
> >  Possible attempt to put comments in qw() list at ./test.pl line 7.
> >
> >with a line like this:
> >
> >  my @bosses = qw/\#100 \#3570/;
> >
> >Does a validation of # vs \# takes too much cpu time? I think that 
> >issuing that warning with '#' only is acceptable... but not with '\#'
> >
> >Just my opinion ;-)
> >Cheers, and continue the good work.
> >
> >Alberto

-- 
That he said that that that that is is is debatable, is debatable.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About