RE: :, ::, :::, and :::: in P6REs

2002-08-22 Thread Paul Marquess

 
  Is that the soon to be released E5?
 
 No, that's the to be released today E5.
 
 ;-)

Yy!!



RE: Warnings, strict, and CPAN (Re: Closures and default lexical-scope for subs)

2001-02-22 Thread Paul Marquess

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 
...
 
 The basic usefulness of warnings is not in question.  This is about
 the *perception* of their utility.  Warnings are only useful if the
 user heeds them.  The question is, will having them on by default make
 the user more or less likely to respond?
 
 There was also eariler discussion that this might encourage people to
 cover up large sections of lousy code with a Cno warnings thus
 further burying potential errors and actually worsening the situation.
 Some ideas were kicked around to have a way to globally override Cno
 warnings... 

This is what the -W command-line flag does.

 but it seems like we're right back to having to remember
 -w again.

Paul

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: RFC 264 (v1) Provide a standard module to simplify the creation of source filters

2000-09-26 Thread Paul Marquess

From: Damian Conway [mailto:[EMAIL PROTECTED]]

...

 No. That's my point. I want to match BANG followed by maximal whitespace
 followed by another BANG. But a line-by-line filter fails dismally if that
 maximal whitespace contains a newline.

 Admittedly this particular example is contrived for effect, but I have
 now used your excellent module in numerous projects when constructs *can*
 cross newline boundaries and it's always painful to do (hence the new
 module). In fact, I would claim that filtering constructs across
 newline boundaries is the *norm*, since newlines are just whitespace most
 places in Perl.

Aaah! I see where you are coming from now. Is that mentioned in the RFC and
module docs? If not, it really needs to be emphasised. It completely passed
me by.

If you like, next time I do a Filters release, I'll update my documentation
to mention your module.

Paul


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: Proposed enhancement to the warnings pragma for Module writers

2000-08-14 Thread Paul Marquess

From: Simon Cozens [mailto:[EMAIL PROTECTED]]

 On Sun, Aug 13, 2000 at 09:36:48PM -0400, Ronald J Kimball wrote:
  On Sun, Aug 13, 2000 at 09:04:41PM +0100, Paul Marquess wrote:
   I'm cc-ing this to p6 because there doesn't seem to be anyone left on
p5p.
  Then who is generating all this traffic on p5p?  :D

 I'm certainly still there, as you can tell from everyone correcting my
 patches. :)

Sorry guys, forgot the smiley.

   warnings::warnif($category, "message") ;
  
   instead of this:
  
   if (warnings::enabled($category))
 { warnings::warn($category, "message") }
 
  Any reason why that isn't the behavior of warnings::warn()?

 Because there are occasions when you want to force a mandatory warning.

Correct.


Paul