[OT] joining list, test message, delete with impunity :)

2003-03-04 Thread Paul
Hello all. I'm here mostly as a lurker to keep up with the evolving structure of p6, but will try to contribute something useful when I can. Good to be aboard. Paul __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more

Re: Multiple Inheritance eq Interfaces [was: Re: Object spec]

2003-03-05 Thread Paul
--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 5:02 AM +1300 3/6/03, Sam Vilain wrote: > > *{$_} = \&{"Class::$_"} foreach (qw(method method2 method3)); > > Gives you everything that inheriting a class does, apart from the > > ->isa() relationship. And potential unwanted namespace pollution. >

Re: Object spec

2003-03-05 Thread Paul
ate methods if we can help it. I think I need an exampleunfortunately I'm at work and haven't the time to properly peruse the one you offered. Thus I must apologize, and wait for more input. Paul __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/

Re: Object spec [OT?]

2003-03-05 Thread Paul
--- [EMAIL PROTECTED] wrote: > > Are you speaking in terms of limitation, or requirement? > > It would be nice to have a syntax solution. I've seen p5 interfaces > > with stubs that die so that you have to override them in a > > subclass. It works, but seems a little kludgy. > > Back in 1988 prog

Re: Multiple Inheritance eq Interfaces [was: Re: Object spec]

2003-03-05 Thread Paul
> > And I'm coming in late on this. Are you saying you want > > Exporter/%EXPORT_TAGS functionality built into the language and > > into all objects? Wouldn't that jack up the overhead? > > No. All I'm saying is that this sort of construct: > >*{$_} = \&{"Class::$_"} foreach (qw(method metho

Re: Object spec

2003-03-07 Thread Paul
--- Andy Wardley <[EMAIL PROTECTED]> wrote: > Associations *are* fundamental things, but I don't think they are > part of an object. They describe relationships between objects and > should exist independantly and orthogonal to them. Agreed. Is there any reason that shouldb't be done with somet

Re: Statement modifiers

2003-03-10 Thread Paul
> I made a mistake in my original post, they definitely need to be > left-associative. Your example should obviously be interpreted as: > > (.method given $x) given $y; # calls $x.method ok. > I think this is similar to how I mentioned that a duplicate 'for' is > pointless. Just because poi

A6 page 6 formatting problem

2003-03-10 Thread Paul
Just in case anyone cares, page 6 is requiring that I scroll horizontally. I'll live, but if it can be easily fixed, that's a Good Thing. :) Haven't read the rest yet -- still working on it. Paul --- Damian Conway <[EMAIL PROTECTED]> wrote: > Like the fully-laden

Re: Statement modifiers

2003-03-10 Thread Paul
t; > $x and $y $y if $x > $x or $y$y unless $x > $x . $y $y <~ $x > $x ( $y ) $y ~> $x I have no idea what you mean by this. Paul __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/

Re: This week's Perl 6 Summary [OT]

2003-03-11 Thread Paul
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Piers Cawley wrote: > > Coroutines end and DFG > > Nobody explained what DFG stands for. > > It's a commonly used TLA standing for Data Flow Graph, which > accompanies the CFG (Control Flow Graph). Both are necessary > for register allocation

Re: A6: Signature zones and such

2003-03-11 Thread Paul
--- Brent Dax <[EMAIL PROTECTED]> wrote: > method x ($me: $req, ?$opt, +$namedop, *%named, [EMAIL PROTECTED]) { ... } > > Yikes. And I thought we were trying to get *away* from line noise? > > Seriously, can't we use something rather prettier, like this? > > method x($me: $req, $o

Re: A6: Signature zones and such

2003-03-11 Thread Paul
> The problem is that if you have multiple optional or named > parameters, things start getting uncomfortably prolix, and default > values end up a long way from their owners: > > multi substr(Str $str, $from is optional = $CALLER::_, > $len is optional = Inf, $new is optional) {...

macro operators in A6 -- sweet.

2003-03-11 Thread Paul
So now putting C-style comments in p6 should be about as easy as macro circumfix:/*...*/ () is parsed(/.*?/) { "" } That's so easy I might even *use* it, lol Not that I've ever really felt the need with # and =doc/=cut. But just to make sure I'm getting it: macro circumfix:... () is pa

Re: A6: Signature zones and such

2003-03-11 Thread Paul
> I don't know that that means we couldn't have an C > spelling, though. And C (or something easier to spell) > for the * case. If we have C and C, I think > it would be appropriate to have names for the other linenoise as well. I'd say "please". > (Percentage of me that really cares: 20%.

A6 Type Inference

2003-03-14 Thread Paul
I apologize for not including a previous message thread -- I fumble-fingered myself out of all the relevant ones Still, I'd just like to cast my tiny vote regarding inferences. I'd like to be able to write classes that can take advantage of screaming speed, and types contribute. I'd like to

Re: A6: macro invocants

2003-03-13 Thread Paul
> The sugar I'm using here is to go from > >$db.do_sql("select * from Foo"); > to >$db.select * from Foo; Since we're fishing, call it a circumfix operator, something like sql...execute. Like this: $db.sql select * from Foo; execute; _

Re: A6: Strict signature checking - was: Complex Parameter Types

2003-03-13 Thread Paul
> I don't see a problem. Scalar == Int|Num|Str|Ref, so > Scalar.isa("Int"). Scalar.isa("Int") && Int.isa("Scalar") __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com

Re: is static?

2003-03-15 Thread Paul
> > Doesn't C give you this? > > Not really. A variable declared with can be accessed from > anywhere in the program, just by redeclaring it or calling it with > the "package::" syntax.A variable declared with can be > accessed outside its scope only if the user returns a reference > to i

survey page? [OT, was Re: is static?]

2003-03-18 Thread Paul
ould be helpful if I set up a web page where the team could give me some alternatives to post, and folk could submit their preferences. I suspect that there are already plenty of ways to do that, and that my offer is weak, lol Personally, I prefer just hashing it out in the list. But it was a

Re: is static?

2003-03-18 Thread Paul
> $a ??= $b :: $c; Are you serious? That's completely unnecessary, but so is $a ||= 1; I *LIKE* it!!! =o) __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Re: is static?

2003-03-18 Thread Paul
> sub foo() { > env $s ??= 0; > $s ++ ; > } Although I still prefer calling it a trait on the data, I must admit that I like "env"...perhaps even better than "is retained". Well, maybe not. But it's a cool thought that it's the "environment". __

Re: A6 Request: Change .req to .arity

2003-03-19 Thread Paul
tend to use esoteric language attributes rather often (which is not a boast -- it's a rather bad habit, but there it is). Anyway, I like writing functions and methods that DWIM, but sometimes WIM takes some doing. I'd rather have a name that means something to me, too though to b

Re: Funding the design team

2003-03-21 Thread Paul
--- Miko O'Sullivan <[EMAIL PROTECTED]> wrote: > On Thu, 20 Mar 2003, David Storrs wrote: > > Folks, give us your address (or a PO box, or something), where we > > can send checks. The checks won't be tax deductible, but are we > > really doing this for the tax deduction? > > ... or a PayPal acc

list manners question

2003-03-26 Thread Paul
y feel free to email me off-list if it's more appropriate. ;o] Paul __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Re: A6: argument initializations via //=, ||=, ::=

2003-03-25 Thread Paul
> > sub myprint(+$file is IO:File is rw ::= IO:STDOUT, [EMAIL PROTECTED]) {...} > As a side note... that sig will not do the behavior you've described. > You instead want this: > > sub myprint([EMAIL PROTECTED], +$file is IO:File is rw ::= IO:STDOUT) {...} > The named parameter +$file has to go beh

Re: A6: argument initializations via //=, ||=, ::=

2003-03-25 Thread Paul
--- Damian Conway <[EMAIL PROTECTED]> wrote: > However I still think we're probably multiplying entities > unnecessarily. A beautiful if somewhat understated reference to Occam's Razor. While the synoptic synthesis of the writing of William of Occam is often translated into English as "One should

Re: A6: argument initializations via //=, ||=, ::=

2003-03-25 Thread Paul
> sub foo($x ~= "foo") {...} # Append "foo" to whatever $x given Oops. :) That should be > sub foo($x .= "foo") {...} # Append "foo" to whatever $x given > sub foo($x ~= "foo") {...} # smart-test $x against "foo" I assume the second would provide a boolean response.

Re: P6ML? [OT]

2003-03-25 Thread Paul
--- Austin Hastings <[EMAIL PROTECTED]> wrote: > --- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > At 10:44 AM -0800 3/25/03, Michael Lazzaro wrote: > > >So, is anyone working on a P6ML, and/or is there any > > >discussion/agreement of what it would entail? > > > > I, for one, think it's a great i

Re: A6: argument initializations via //=, ||=, ::= [OT]

2003-03-25 Thread Paul
(Note forwarded to the list as penance for my silliness. :) > > > sub foo($x .= "foo") {...} # Append "foo" to whatever $x given > > > sub foo($x ~= "foo") {...} # smart-test $x against "foo" > > Well, last time I looked (granted, it could've changed numerous times > since then) ~ was the stri

Re: P6ML? [OT]

2003-03-25 Thread Paul
> >> |==[*]| > >> Sarcasmeter? > > > >lol -- I think my BS-o-meter just redlined, too > > Heh. Sorry 'bout that. Bring it to OSCON and I'll get it fixed. :) lol -- when/where is that? (Seems all I do here is ask dumb questions). *sigh* >

Re: A6: argument initializations via //=, ||=, ::= [OT]

2003-03-25 Thread Paul
--- Jonathan Scott Duff <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2003 at 12:19:30PM -0800, Paul wrote: > > Is there a page up anywhere that summarizes the latest > > prognostications? > > Mike Lazzaro had compiled the state-of-the-ops for perl6, but I don't &g

Re: list manners question

2003-03-26 Thread Paul
things. :) And FWIW, I consider this to be a very appropriate response -- an aside, perhaps, but hey, the reason I asked the question was because I care what helps and hinders other folk working on the list! ;o] Paul __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Re: Conditional Cs?

2003-03-31 Thread Paul
--- Jonathan Scott Duff <[EMAIL PROTECTED]> wrote: > On Mon, Mar 31, 2003 at 12:12:54PM -0800, Michael Lazzaro wrote: > > Don't those return C, as opposed to the value of C<$_>? > > I.E. wouldn't it be: > > > > $_ and return $_ given big_calculation(); > > -or- > > given big_calculatio

Re: A6: Named vs. Variadic Parameters

2003-04-02 Thread Paul
--- David Storrs <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2003 at 12:19:20PM -0800, Michael Lazzaro wrote: > > I think newbies are going to unquestionably try and put the > > parameters in the same order as they expect to see the eventual > > arguments, and be durn confused it doesn't work --

Re: == vs. eq

2003-04-02 Thread Paul
--- Austin Hastings <[EMAIL PROTECTED]> wrote: > --- Paul <[EMAIL PROTECTED]> wrote: > > --- Austin Hastings <[EMAIL PROTECTED]> wrote: > > > Likewise, I could argue that it be called C<=:\> (the > > > "disgruntled muppet" oper

Re: == vs. eq

2003-04-02 Thread Paul
Error correction: --- Paul <[EMAIL PROTECTED]> wrote: > > > no idea how adverbial modification would affect that. Exactly > > > what *would* adverbial assignment be? Would > > > $a =:\ $b > > > be like > > > $a = \$b Thatv should have been

Re: Conditional Cs?

2003-04-01 Thread Paul
> I'm looking for a Perl6 way to say that oft-repeated, oft-chained > two-line snippet up there without declaring the temporary variable. > Using C or C, maybe? I think you're going to have to have some holding space, but $_ should do it and still avoid the predeclaration. My P6 syntax is still

Re: == vs. eq

2003-04-01 Thread Paul
--- Michael Lazzaro <[EMAIL PROTECTED]> wrote: > Note if we are truly strict about C<==> always meaning "compare > numerically", I imagine that the line: > > [EMAIL PROTECTED] == [EMAIL PROTECTED]; > > would in fact be identical to _this_ line: > > @a.length == @b.length;# or whate

Re: == vs. eq

2003-04-02 Thread Paul
--- Austin Hastings <[EMAIL PROTECTED]> wrote: > Likewise, I could argue that it be called C<=:\> (the "disgruntled > muppet" operator?) since that reflects the "equals, under reference" > symbology. But that's yucky. Shouldn't that be ==:/ (maybe the "severely startled muppet" operator? lol...)

Re: Short-circuiting user-defined operators

2003-04-03 Thread Paul
--- Austin Hastings <[EMAIL PROTECTED]> wrote: > Dave Whipp wrote: > > Joe Gottman wrote: Getting deep -- sorry. :) > > > Alternatively, there might be a new parameter type that indicates > > > that the parameter is not evaluated immediately: > > > > > > sub infix:!! ($lsh, $rhs is deferred) {.

Re: Patterns and junctions

2003-04-04 Thread Paul
--- "Adam D. Lopresto" <[EMAIL PROTECTED]> wrote: > I propose that since the empty pattern is no longer legal (and > about time), we use "|" in patterns to indicate alternation without > preference, and "||" to indicate "try the first, then the second, > etc". Hmm A neat idea, but can you el

Re: == vs. eq

2003-04-04 Thread Paul
--- mlazzaro <[EMAIL PROTECTED]> wrote: > Austin Hastings wrote: > > It has been pointed out once already that we already talked about > > this, and I for one am in favor of the general version of it. > > The original discussion posited an "adverbial comparison", viz: > > C<$a eq:ref $b>. Which, l

Re: Short-circuiting user-defined operators

2003-04-03 Thread Paul
--- Austin Hastings <[EMAIL PROTECTED]> wrote: > --- Paul <[EMAIL PROTECTED]> wrote: > > > But what to do about matrix arithmetic and other simple > > > threadable tasks? > > > sub m_add(@a, @b) { my @result; my $i, $j; @result = @a; > > >

Re: How shall threads work in P6? [OT :o]

2003-04-04 Thread Paul
--- Larry Wall <[EMAIL PROTECTED]> wrote: > For anything other than existential issues, I believe that > most arguments about the future containing the words "either", > "or", "both", or "neither" are likely to be wrong. In > particular, human psychology is rarely about the extremes > of binary lo

Re: is static? -- Question

2003-04-03 Thread Paul
--- arcadi shehter <[EMAIL PROTECTED]> wrote: > Larry Wall writes: > > > > Er, how would LEAVE detect that this was the *last* time you're > > ever going to call this routine? > > > > On the other hand, if we renamed FIRST and LAST to ENTER and > > LEAVE, then FIRST would become available

Re: Patterns and junctions

2003-04-04 Thread Paul
--- Luke Palmer <[EMAIL PROTECTED]> wrote: [extremely large *SNIP*] > Maybe the "|"/"||" distinction isn't needed, and we just need a > declarator on rules that says they are side-effect-free, and can thus > be optimized. [snip] > I like this solution better than making a new operator. In Perl >

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 on Coexistance and simulaneous use of multiple module version s?

2001-02-15 Thread Paul Johnson
y. Just because you write Foo::bar in your module doesn't mean > > that Perl can't know which version of Foo:: you mean. Has anyone considered the problems associated with XS code, or whatever its replacement is? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: RFC on Coexistance and simulaneous use of multiple module version s?

2001-02-15 Thread Paul Johnson
On Thu, Feb 15, 2001 at 10:43:38AM -0300, Branden wrote: > Paul Johnson wrote: > > > > Has anyone considered the problems associated with XS code, or whatever > > its replacement is? > > > > The big problem about having more than one version of a module

Re: RFC on Coexistance and simulaneous use of multiple module version s?

2001-02-15 Thread Paul Johnson
On Thu, Feb 15, 2001 at 02:47:55PM -0500, Steve Simmons wrote: > Paul Johnson wrote: > > > Has anyone considered the problems associated with XS code, or whatever > > its replacement is? > > Pardon my ignorance, but what's XS code? perldoc perlxs perldoc perlxstu

RE: Warnings, strict, and CPAN

2001-02-18 Thread Paul Marquess
ings were disabled locally using no warnings or $^W =0. This includes all files that get included via use, require or do. Think of it as the Perl equivalent of the ``lint'' command. Paul _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

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

2001-02-22 Thread Paul Marquess
o globally override C 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: Distributive -> and indirect slices (fwd)

2001-03-26 Thread Paul Johnson
On Mon, Mar 26, 2001 at 10:02:40AM -0600, David M. Lloyd wrote: > $obj->method; # Clearly void context. Unless it's not. For example as the last statement in a subroutine. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: pitching names for the attribute for a function with no memor y or side effects

2001-03-31 Thread Paul Johnson
gards to the > concept of "nosideeffects". By using a correct term, although it may be unknown to the average programmer, the programmer is presented with an oportunity to learn, and may even be exposed to a completely new programming paradigm. And, by the way, it is already possible

Re: Larry's Apocalypse 1

2001-04-06 Thread Paul Johnson
's recent patch changes this for "do" at least. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Larry's Apocalypse 1

2001-04-14 Thread Paul Johnson
sation and embellishment is allowed, but don't get too far off the beaten track or people won't be sure which message they should post next and then the thread will die. [ :-) for those who like such things ] -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Dot can DWIM without whitespace

2001-04-25 Thread Paul Johnson
pretty good track record with these sorts of things. Anyway, what do you think this is? Some kind of democracy? :) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Between-Opcode Callbacks

2001-07-09 Thread Paul Johnson
trap?), which is only > >one byte (no args) and which breaks into a handler which can check > >various flags and do stuff. very reminiscent of the trap op code of many > >cpu's. > > Sure, we can do that too. I think something like that will be necessary. And ultimately it's going to be possible to directly manipulate the optree, even while a program is running, right? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Between-Opcode Callbacks

2001-07-08 Thread Paul Johnson
On Sat, Jul 07, 2001 at 09:58:54PM -0400, Uri Guttman wrote: > >>>>> "PJ" == Paul Johnson <[EMAIL PROTECTED]> writes: > > PJ> Some method of attaching a callback function to arbitrary opcodes would > PJ> be very useful. > > how would y

Re: Between-Opcode Callbacks

2001-07-07 Thread Paul Johnson
ere they both false? Verilog, a Hardware Description Language, is an example of a language in which this is possible, using the VPI. > For symmetry a begin-of-block opcode can be imagined, also, but I have > hard time thinking what would setup the code to run in there unless we > allow for time travel :-) See above? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Between-Opcode Callbacks

2001-07-10 Thread Paul Johnson
On Mon, Jul 09, 2001 at 11:46:30PM -0500, Jarkko Hietaniemi wrote: > > > XML > is > much > too > verbose And it should be neither written nor read by people ;-) > . > > -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: nice2haveit

2001-07-16 Thread Paul Johnson
; > > uri > > We must demand that the feature come with a way to seal the current > context from manipulation, even possibly a way to block accesses. Doesn't sound very Perlish to me. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: op code bof

2001-07-19 Thread Paul Johnson
ah. Our canon of scripture? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: explicitly declare closures???

2001-08-22 Thread Paul Johnson
w, if you were proposing that named subroutines should behave like closures in this regard, which is what Piers and probably most others were expecting, I suspect that you would probably get broad agreement. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: explicitly declare closures???

2001-08-22 Thread Paul Johnson
On Wed, Aug 22, 2001 at 10:34:49AM +0100, Dave Mitchell wrote: > Paul Johnson <[EMAIL PROTECTED]> wrote: > > Actually, foo() is not a closure. A closure is an anonymous subroutine > > and foo() clearly has a name. > > Damain's definition of a closure inclu

Re: Perl 6 modules plan

2001-08-25 Thread Paul Johnson
ratch that example then :) But my point still stands: I I'd actually scratch the others too. That one was probably the best :-) > think Perl 6 should have some sort of guidelines in this area, even if > they're only a codification of what "the majority" of Perl auth

Re: RFC: Test::JSON

2005-11-14 Thread Paul Johnson
son in the quality of the test output. The only downside is that it is another configuration on which I need to test before making a release. Oh, and Test::JSON works well for me. Thanks! -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Compiling Devel::Cover stats across scripts

2005-11-16 Thread Paul Johnson
to give combined coverage for the script and any modules used. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: handling undef better

2005-12-19 Thread Paul Johnson
ble to do that, and maybe to declare which hash keys or array elements are valid. Do we have that already? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Paul Johnson
solution such as the one you noted, where the call is conditional on some constant which can be set to false allowing the optimiser to remove the whole thing from the op tree. I suppose you could consider a source filter, but I couldn't recommend that. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [svn:perl6-synopsis] r7784 - doc/trunk/design/syn

2006-02-23 Thread Paul Hodges
--- [EMAIL PROTECTED] wrote: > . . . > -Such an "eigenmethod" is delegated to C<.meta> just as method like > . . . > +Such an I is always delegated to C<.meta> just as changing "eigenmethod" to I should also change "an" to "a": +Such a I is always delegated to C<.meta> just as ^ Small

Re: [selenium-dev] Selenium RC driver

2006-04-10 Thread Paul Johnson
n assist with? As far as strategy is concerned, I think this is the right way to go. I don't see any point in rewriting the Java code if it is doing everything necessary (I discovered I needed a fairly recent (or possibly just not ancient) version of java to get it to work), and being consistent with

Re: [selenium-dev] Perl Selenium RC driver

2006-04-10 Thread Paul Johnson
On Mon, Apr 10, 2006 at 10:26:14AM -0700, Dan Fabulich wrote: > Paul Johnson wrote: > > Re: CPAN... > >I don't see a problem with that sort of thing going on CPAN, at least > >not from that point of view, but I do wonder if it is worthwhile given > >that it will

Re: A shorter long dot

2006-05-01 Thread Paul Johnson
_.foo for @things_to_foo; or something. I like lining up my code as much as the next programmer, and probably a lot more, but I just don't see the need for this syntax which seems ugly, confusing and unnecessary. But then again, as I said, I really don't see the problem that i

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread Paul Johnson
CHED */ to shut up lint, writing if ((a = b)) to shut up gcc, and even adding # uncoverable to keep Devel::Cover quiet ;-) [ No, that last one doesn't work yet. ] -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: A shorter long dot

2006-05-04 Thread Paul Johnson
On Thu, May 04, 2006 at 01:56:44PM +0300, Markus Laire wrote: > On 5/1/06, Paul Johnson <[EMAIL PROTECTED]> wrote: > > >But then again, as I said, I really don't see the problem that is being > >solved. > > This "long-dot" can be used for many thin

Re: RFC: Community education page

2006-05-04 Thread Paul Johnson
; %foo {'bar'} >> DTRT, but I can't > remember it", which certianly happens to me fairly often. Well, I'd obviously quite like that ;-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6).

2006-05-23 Thread Paul Fenwick
in any Perl 6 development, discussions, or other activities. PerlNet exists to provide support for the Perl community, and if there's anything I can do to make it more suitable to help the Perl 6 effort, then I'd be very happy to do my best to make it happen. All the very best,

Re: packages vs. classes

2006-05-26 Thread Paul Hodges
dard model can take the small overhead hit of whatever internal shenanigans they need to implement, and just about anything like that can be stuffed into a module now, can't it? So the upshot is, a standardized metamodel seems like the way to go to me And Congrats again, gramps. May y

Re: [perl #39217] [TODO] legal - eliminate "All Rights Reserved."

2006-05-26 Thread Paul Johnson
eed, http://www.copyright.gov/circs/circ03.html only talks about: The symbol © (the letter C in a circle), or the word “Copyright,” or the abbreviation “Copr.” I wouldn't have said anything, but your correction seems to indicate that the (C) is important. Is my information outdated? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Introductions; P6 wiki

2006-05-27 Thread Paul Fenwick
eneral), you should feel very encouraged to do so, even if it's with the intention of migrating that content in the future. Cheerio, Paul -- Paul Fenwick <[EMAIL PROTECTED]> | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia| Fax: +61 3 9354 2681

P6U FAQ on PerlNet (was Re: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-05-28 Thread Paul Fenwick
ion-ShareAlike license, as well as the prevailing P6/Pugs license? Cheerio, Paul -- Paul Fenwick <[EMAIL PROTECTED]> | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia| Fax: +61 3 9354 2681

Re: question about using "cover -ignore" and "cover -ignore_re"

2006-05-29 Thread Paul Johnson
general it is much better to ignore modules whilst gathering coverage. This has the added bonuses of making the whole thing quicker, using less space, and mostly working. So something like perl -MDevel::Cover=+ignore,\\.pt$ ... might be what you are really looking for. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Info from Devel::Cover

2006-05-29 Thread Paul Johnson
file ($db, $file, $options); print_branches ($db, $file, $options) if $options->{show}{branch}; print_conditions ($db, $file, $options) if $options->{show}{condition}; print_subroutines($db, $file, $options) if $options->{show}{subroutine}; } } >From h

Re: More - Re: question about using "cover -ignore" and "cover -ignore_re"

2006-05-29 Thread Paul Johnson
d add after "use > Devel::Cover" to make it works as > "-MDevel::Cover=+ignore,\\.pt$ ...". I think that "use Devel::Cover qw( +ignore .pt$ );" should do that. See -M in perldoc perlrun. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Synchronized / Thread syntax in Perl 6

2006-05-31 Thread Paul Hodges
How about one of these? == class Baz { has $.a is restricted; has $.b is controlled; has $.c is unique; has $.d is shared; has $.e is queued; has $.f is token; ... } --- John Drago <[EMAIL PROTECTED]> wrote: > I asked this via the Google Groups interfa

RE: Synchronized / Thread syntax in Perl 6

2006-05-31 Thread Paul Hodges
--- John Drago <[EMAIL PROTECTED]> wrote: > James Mastros wrote: > > I don't like the name synchronized -- it implies that multiple > > things are happening at the same time, as in synchronized swiming, > > which is exactly the opposite of what should be implied. > > "Serialized" would be a nice n

RE: Synchronized / Thread syntax in Perl 6

2006-06-02 Thread Paul Hodges
--- John Drago <[EMAIL PROTECTED]> wrote: > > You mean "is parallel" as a synonym for "is async"? > > I think "is parallel" denotes something as usable by multiple threads > simultaneously, "in parallel". > "is serial" would denote that only one thread can use the $thing at a > time, exclusively

RE: Synchronized / Thread syntax in Perl 6

2006-06-02 Thread Paul Hodges
--- John Drago <[EMAIL PROTECTED]> wrote: . . . > > class QueueRunner { > >our sub process_queue(Code @jobs_in) { > > my @ans is serial; > > @ans.push map { async { &_() } } @jobs_in; > > @ans; > >} > > } > > my @answer = QueueRunner.process_job_queue( @jobs ); > > Actual

Re: Synchronized / Thread syntax in Perl 6

2006-06-03 Thread Paul Hodges
--- Ashley Winters <[EMAIL PROTECTED]> wrote: > On 6/2/06, Paul Hodges <[EMAIL PROTECTED]> wrote: > > > > my @answer = map { async { &_() } } @jobs; > > That still seems too explicit. I thought we had hyperoperators to > implictly parallelize for us: >

Re: Synchronized / Thread syntax in Perl 6

2006-06-03 Thread Paul Hodges
--- Larry Wall <[EMAIL PROTECTED]> wrote: > On Sat, Jun 03, 2006 at 03:51:45PM -0700, Paul Hodges wrote: > : { no threads; > :print @_.»(); > : } > > It seems a bit odd to use a construct for its syntactic sugar value > but take away its semantics... > >

Re: Devel::Cover and HTML::Mason

2006-06-08 Thread Paul Johnson
eed to come back with a bit more information. Good luck. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Error Message "Magic number checking on storable file..." when running "cover" to merge data

2006-06-08 Thread Paul Johnson
vel/Cover/DB/Structure.pm line 269 > = I think so. Perhaps nothing was written to the database at all? $ perl -MStorable -e 'retrieve "/dev/null"' Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 331, at -e line 1 -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Question - (1) Devel:;Cover and B::Deparse issue (2) "cover" and its momory consuming issue

2006-06-08 Thread Paul Johnson
ge databases. The reason is that the database is read into a perl data structure. (The "database" is really little more than a Storable dump of a Devel::Cover::DB object.) I'm afraid that the pragmatic approach its probably to throw RAM at the hardware. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Question - (1) Devel:;Cover and B::Deparse issue (2) "cover" and its momory consuming issue

2006-06-16 Thread Paul Johnson
On Sat, Jun 10, 2006 at 07:54:28PM -0700, Scott Wang wrote: > Hi Paul, > > Thanks a lot for your reply! > > After I turned off warning in all my product scripts > and test scripts which I was running Devel::Cover on, > 90% warning messages related B::Deparse deep recursion

Re: Couldn't understand the following message from Devel::Cover ...

2006-06-16 Thread Paul Johnson
e a great problem. So I am interested in what problems this causes down the line. To stop the warning I suggest the following options: 1. Fix Devel::Cover. Go on, please. You know you want to ;-) 2. Hack the source to disable the warning. 3. Filter the output. 4. Pretend you didn't see it. Most people take the fourth option since it really shouldn't cause any further problems. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Error Message "Magic number checking on storable file..." when running "cover" to merge data

2006-06-16 Thread Paul Johnson
On Sat, Jun 10, 2006 at 08:14:09PM -0700, Scott Wang wrote: > Hi Paul, > > You are right, I found a 0 size file under the > "cover_db/structure" folder. After I removed that 0 > size file, my "cover" worked fine to merge all the > data and generated HTML f

Re: Can foo("123") dispatch to foo(Int) (was: Mutil Method Questions)

2006-06-24 Thread Paul Hodges
so back to foo("bar"). What's the default behavior? String doesn't Num, does it? though is does convert if the value is good Does that mean foo("123") should or should not dispatch to foo(Int)? Or even foo(Num), for that matter Oy, I could see some headaches around setting these rules in

Re: Using Rules Today

2006-07-03 Thread Paul Seamons
', '3', [ \[ '**', '4', '2' ], 0 ] ], 0 ], '5' ], 0 ]; I apologize that the expression parsing isn't a little more abstracted for you, but the result should be usable. Also, the parse_expr is designed for also parsing variable names in the TT2 language, so the first portion of the method applies variable names. The entire thing could be cut down considerably if all you want to parse is math (no variables). Paul Seamons

Re: Any Clue about Devel::Cover Error Message "Corrupted storable file (binary v2.7) at ../../lib/Storable.pm"

2006-07-07 Thread Paul Johnson
On Fri, Jul 07, 2006 at 10:26:13AM -0700, Scott Wang wrote: > Hi Paul, > > Even, currently, there is no any zero size data file > in structure folder in my regression code coverage run > (lots of suites), I still got lots of messages like > below: > --- > Corrupt

  1   2   3   4   5   6   7   8   9   10   >