Proposed enhancement to the warnings pragma for Module writers

2000-08-13 Thread Paul Marquess
I'm cc-ing this to p6 because there doesn't seem to be anyone left on p5p. Let me deal with the easy bit first. I've added a convenience function called "warnings::warnif" that allows you to write this: warnings::warnif($category, "message") ; instead of this: if (warnings::enabled($ca

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. &g

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

2000-09-25 Thread Paul Marquess
ffectively, it allows > one to use > the full power of Perl as its own, recursively applied, macro language. > > The Filter::Util::Call module (by Paul Marquess) provides a usable Perl > interface to source filtering, but it is not nearly as simple as > it could be. > > T

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

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 l

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

2002-08-22 Thread Paul Marquess
> The behaviour is explained quite well in E5 I think. Is that the "soon to be released" E5? Paul

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!!