develooper Front page | perl.perl5.porters | Postings from June 2010

Revised PATCH: [perl #75642] Deprecate not having space betweenpattern and following word

Thread Previous | Thread Next
From:
karl williamson
Date:
June 17, 2010 13:04
Subject:
Revised PATCH: [perl #75642] Deprecate not having space betweenpattern and following word
Message ID:
4C1A7FC3.6080805@khwilliamson.com
> 
> Things like "/foo/sand bar" will now generate a deprecated warning.
> 
> I don't think there was any complaint in our discussions of new modifier 
> letters about deprecating words following a pattern without a gap.  I 
> think the above example further shows the problem with the current behavior.
> 
> This simple patch deprecates this usage.  It does add an extra message 
> if the following word isn't legitimate to the syntax error that comes 
> out next, but I don't think that's worth worrying about, and may give 
> someone a further clue as to where on the line the problem is.
> 

This patch is revised to use t/lib/warnings for testing; slightly 
different message wording.

Thread Previous | Thread Next


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