Re: Why does .new initialize?

2021-07-19 Thread Peter Scott
by external code? Best regards, Vadim Belman On Jul 19, 2021, at 1:00 PM, Peter Scott <mailto:pe...@psdt.com>> wrote: On 7/19/2021 1:24 AM, Elizabeth Mattijsen wrote: If .new wouldn't initialize a type to its basic instantiation, what would be the point of .new then? FWIW, the

Re: Why does .new initialize?

2021-07-19 Thread Peter Scott
On 7/19/2021 1:24 AM, Elizabeth Mattijsen wrote: If .new wouldn't initialize a type to its basic instantiation, what would be the point of .new then? FWIW, the same goes for: dd Int.new; # 0 dd Num.new; # 0e0 dd Complex.new; # <0+0i> dd Str.new; # "" If

Why does .new initialize?

2021-07-18 Thread Peter Scott
at line 1 > my $q = Rat.new 0 > put $q 0 ---- Peter Scott

Re: Is the cosine page wrong?

2020-12-29 Thread Peter Scott
On 12/28/20 11:49 PM, ToddAndMargo via perl6-users wrote: I will accept your target audience:   "Someone who already knows how to program and   uses 'Raku.'" I will also accept that the documentation is not for me or anyone else trying to learn Raku. We explained that there are two

Re: Is the cosine page wrong?

2020-12-28 Thread Peter Scott
On 12/28/20 10:57 PM, ToddAndMargo via perl6-users wrote: On 12/28/20 4:54 AM, Richard Hainsworth wrote: So please take what I say now as a plea for you to adapt a little, not to get pissed off with us even though you do seem to have pissed some of us off. You have very definite ideas about

Re: OAuth2?

2020-03-21 Thread Peter Scott
On 3/21/20 2:20 PM, ToddAndMargo via perl6-users wrote: On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote: This is a long shot, but have any of you figured out how to send eMail through G-Mail with OAuth2? I have a module that uses cURL, but I can't figure out how to get it to work with

Re: irrational nubmer?

2020-02-26 Thread Peter Scott
On 2/26/2020 11:14 AM, ToddAndMargo via perl6-users wrote: I used gnome calculator to 20 digits:     665857/470832     1.41421356237468991063 Sorry.  Not seeing any repeating patterns. Here is NAS doing it to 1 million digits (they have too much time on their hands):

Re: Once again - You say one thing and do another Re: Bug to report: cardinal called an integer

2020-01-15 Thread Peter Scott
the other members of the community. -- Peter Scott

Re: A grand idea on the documentation

2019-12-09 Thread Peter Scott
they are received. Peter Scott

Re: looking for good project to learn perl6

2019-12-08 Thread Peter Scott
Raku libraries for Keras/Tensorflow, or AWS, or Kubernetes, leveraging the novel features of Raku, could be killer apps for Raku. Ambitious, though. Peter Scott > On Dec 7, 2019, at 7:24 PM, Tom Blackwood wrote: > >  > Hello William, > > We are actually a small team maki

Re: need doc help with []

2018-10-02 Thread Peter Scott
On 10/2/2018 6:29 PM, Trey Harris wrote: So it is for the [] postcircumfix. For those of us who have been following Perl 6 development for 18 years, the fact that it—and almost every other low-level particle—can be described at all in such a way is a remarkable triumph of the language. Amen

Re: Could this be any more obscure?

2018-10-02 Thread Peter Scott
On 10/2/2018 5:45 PM, ToddAndMargo wrote: On 10/2/18 5:31 PM, Curt Tilmes wrote: On Tue, Oct 2, 2018 at 8:28 PM ToddAndMargo > wrote:     Question: in Perl syntaxland, is "postfix" short     for "postcircumfix"? Nope.  Each are different types of oeprator. 

Re: Could this be any more obscure?

2018-09-30 Thread Peter Scott
On 9/30/18 2:45 AM, ToddAndMargo wrote: The manual need to be written for the common user to understand, not just developer level and very advanced users.  They don't need the manual anyway. Of course we do. I constantly refer to the Perl 5 manual rather than waste memory on rote

Re: Could this be any more obscure?

2018-09-26 Thread Peter Scott
On 9/26/2018 3:21 PM, ToddAndMargo wrote: I use words all the time.  I never would have figured it out from     multi method words(Str:D $input: $limit = Inf --> Positional) Do your really think any beginner would be able to figure out "words" from the above? If the beginner had studied the

Re: A comparison between P5 docs and p6 docs

2018-09-12 Thread Peter Scott
Ordinarily I would agree with you. But I know my own brain and how it works. I only learn by doing. Have tried to change that and can't. A good tutorial book *will* make you "do." The brian d foy book does exactly that with things to try, and questions to explore in your own code. It

Re: RFE: contains documentation

2018-09-09 Thread Peter Scott
On 9/9/18 3:47 PM, ToddAndMargo wrote: I also LOVE examples.  Sometimes an example will get past the fog quicker than anything else.  And you will notice in a (spoken) language dictionary, they ALWAYS give an example of how to use a work in its various contexts. "Learning Perl 6" by brian d

Re: RFE: contains documentation

2018-09-09 Thread Peter Scott
right (at least, initially) by creating the ---tut series of pods. Good programmers are not always good writers or teachers. Peter Scott Author, "Perl Debugged," "Perl Medic," and "Perl Fundamentals."

Missing or wrong version of dependency

2018-09-02 Thread Peter Scott
Hullo.  I am on     CentOS Linux release 7.5.1804 (Core) and I did     yum install rakudo    [rakudo-0.2018.04-1.el7]     yum install rakudo-zef  [rakudo-zef-0.2.9-1.el7.x86_64] Both came from epel.  Then I tried this: # zef install Readline ===SORRY!=== Missing or wrong version of

Re: ding!

2017-05-31 Thread Peter Scott
On 5/31/17 8:44 PM, ToddAndMargo wrote: On 05/31/2017 08:39 PM, Lloyd Fournier wrote: perl6 -e 'say "\a"' No joy under linux. 0x07 does not work either. Just prints a 7 ITYM chr(7).

Re: Perl 6 Advocacy Suggestion

2016-01-19 Thread Peter Scott
I have seen Damian demonstrate how Perl 6 can be the best language for teaching functional, procedural, and object-oriented programming. On 1/19/2016 10:37 AM, Darren Duncan wrote: I very much agree with this idea, of arguing Perl 6 as a teaching language. Academia are the ones that would

Re: The trouble with awesome

2012-06-04 Thread Peter Scott
. -- Peter Scott

Re: [perl6/specs] 58fe2d: [S12] spec setting and getting values of attribute...

2010-10-01 Thread Peter Scott
of thingummy (my terminology isn't so good here, I trust you know what I mean). I don't know how you solve this but please think about this use case. Of course not every object can or should be serialized but elective object persistence is pretty important. -- Peter Scott http

Re: underscores vs hyphens (was Re: A new era for Temporal)

2010-04-12 Thread Peter Scott
?) Also, what happens when code gets run through mailers or other programs that think a hyphen is an acceptable place to break a line? Does the code still work after copy and paste with that newline inserted? -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http

Re: RFD: Built-in testing

2009-01-21 Thread Peter Scott
are they getting that makes up for what looks like a fall in readability? -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: Allowing '-' in identifiers: what's the motivation?

2008-08-21 Thread Peter Scott
that is important. Just because some other languages do it doesn't mean Perl should, unless you know of some studies showing that readability hasn't been impaired. I'm willing to be surprised. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

RE: Allowing '-' in identifiers: what's the motivation?

2008-08-13 Thread Peter Scott
programs. I'm all for giving people enough rope to either hang themselves or make a hammock, but do we really want to open this can of worms? -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: Standards bearers (was Re: xml and perl 6)

2007-12-03 Thread Peter Scott
/74ecce32ff1ad845?dmode=source -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: Web Module (Was: Perl6 new features)

2007-06-26 Thread Peter Scott
integrators -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: Web Module (Was: Perl6 new features)

2007-06-25 Thread Peter Scott
believe it does, for certain modules. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: Generalizing ?? !!

2007-06-23 Thread Peter Scott
On Fri, 22 Jun 2007 15:40:37 +0100, Aaron Crane wrote: Peter Scott writes: can someone tell me why you can't just use ... || in place of ?? ... !!, now that and || propagate context to both sides? You get the wrong result when the antecedent is true and the consequent is false: my

Re: Generalizing ?? !!

2007-06-22 Thread Peter Scott
modify constant item: VInt 42 pugs my $b = 42; ($b || 0) = 17; *** Can't modify constant item: VInt 42 -- Peter Scott

Re: handling undef - second draft

2005-12-18 Thread Peter Scott
() on an empty array to die by default. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Peter Scott
that much in P6? -- Peter Scott

Re: Perl 6 Summary for 2004-10-01 through 2004-10-17

2004-10-20 Thread Peter Scott
of Larry whacking someone with a coelacanth... -- Peter Scott http://www.perldebugged.com/ *** NEW *** http://www.perlmedic.com/

Re: A thought for later -- POD tables

2004-08-21 Thread Peter Scott
... -- Peter Scott

RE: This week's summary

2004-01-06 Thread Peter Scott
put Damian on it, and there'll be a Lingua::EU::ConstitutionGenerator by Christmas. Probably with a back door making him king with droit du seigneur option in perpetuity. -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/

Re: Continuations for fun and profit

2002-07-08 Thread Peter Scott
freeze your program state to disk and restore it later? Cool, makes for easy checkpoint/restarts. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/

Re: Perl 6 Summary

2002-07-03 Thread Peter Scott
/coroutines.html -- Peter Scott Pacific Systems Design Technologies

Re: eval {} or carp blah: $@

2002-05-02 Thread Peter Scott
At 02:33 PM 5/2/02 -0600, Jim Cromie wrote: eval {} or carp $ blah; it seems to work, and it reads nicer (to my eye) than eval {}; if ($) {} % perl -le 'eval { print No exceptions here; 0 } or warn $ blah' No exceptions here blah at -e line 1. -- Peter Scott Pacific Systems Design

Re: Loop controls

2002-04-29 Thread Peter Scott
. Is this hopelessly retrograde thinking? Are the hordes of programmers yet-to-be that will be weaned exclusively on Perl 6 look scornfully on me for such opinions and say, There goes another Perl 5 programmer, pass the Geritol? -- Peter Scott Pacific Systems Design Technologies

Re: Loop controls

2002-04-29 Thread Peter Scott
to wonder whether some features should be optional... use extended qw(loop_syntax); -- Peter Scott Pacific Systems Design Technologies

Re: Ex4 smart match question

2002-04-06 Thread Peter Scott
that are not commutative. -- Peter Scott Pacific Systems Design Technologies

Re: rethinking printf

2002-03-10 Thread Peter Scott
like printf #.3f x nums, nums; and nums is empty. You could always scan the format for a %-specifier which was valid under the old rules and warn that they seem to be using retro syntax. # bespeaks a number-type of thing... how about ~ ? -- Peter Scott Pacific Systems Design

Re: Barewords and subscripts

2002-01-27 Thread Peter Scott
clippings? -- Peter Scott Pacific Systems Design Technologies

Re: Barewords and subscripts

2002-01-26 Thread Peter Scott
of {...} as a block returning either a closure, a value for subscripting, or an anonymous hash, rather than having to decide at tokeniser time. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Barewords and subscripts

2002-01-26 Thread Peter Scott
At 05:43 PM 1/26/02 +, Simon Cozens wrote: On Sat, Jan 26, 2002 at 09:28:18AM -0800, Peter Scott wrote: %foo{bar} It's bare, and it's a word. Maybe you want to come up with another term to describe it then... but it isn't a bareword in Perl. Camel III p.64 footnote: ... It's only

Re: Multiple classifications of an object

2001-06-25 Thread Peter Scott
in the object models of most mainstream languages Can anyone see any problems with making Cbless and Cref work with lists? Cisa is not effected. We might want some magic to ensure 'ref($foo) eq bar' still works as expected. What's wrong with multiple inheritance? -- Peter Scott Pacific Systems

Re: Multi-dimensional arrays and relational db data

2001-06-10 Thread Peter Scott
At 05:58 PM 6/10/2001 -0400, Sam Tregar wrote: SQL via DBI. It's got a terrible learning curve but it's still around for a reason. You learn all about SQL's strengths if you start trying to replace it with arrays and hashes. Go forth and learn! He's right. I do a lot of DBI stuff with

Re: Multi-dimensional arrays and relational db data

2001-06-10 Thread Peter Scott
to express relational database operations. Me too. I just don't think they get any easier than they already are. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Multi-dimensional arrays and relational db data

2001-06-10 Thread Peter Scott
At 06:06 PM 6/10/2001 -0500, Me wrote: Dataset from multiple 'joined' tables (A pair of joined tables can be visualized as two spreadsheet like grids that intersect at right angles with the intersection point being the joined column. The vertical slice picks out rows where

Re: Properties and stricture

2001-06-05 Thread Peter Scott
are willing to surrender some of the cute stuff in return for stability. Quite how Foo prevents Bar from causing shenanigans if Bar was used first, I don't know; might not be possible until runtime. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Properties and stricture

2001-06-05 Thread Peter Scott
At 02:39 PM 6/5/2001 -0700, Daniel S. Wilkerson wrote: Thank you, that's what I thought it might be. This can be done at compile time with a two-stage compilation. The first one writes the code that the second compiles. Then the checking can be done during the second stage. Not when the

Slice refs

2001-05-20 Thread Peter Scott
haven't grokked that from the exegeses yet. That's it. We now return you to the Clinton discussion (it depends what the meaning of 'is' is...) -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Slice refs

2001-05-20 Thread Peter Scott
At 01:31 PM 5/21/2001 +1000, Damian Conway wrote: Um, this is a tiny little diversion here prompted by something that came up on perl-beginners, of all places... it's not possible in perl 5 to make a reference to an array or hash slice without doing some copying. Hey,

Re: Perl, the new generation

2001-05-16 Thread Peter Scott
At 12:45 PM 5/16/01 -0400, Adam Turoff wrote: On Wed, May 16, 2001 at 08:57:42AM -0700, Peter Scott wrote: It doesn't look to me like the amount of Perl one needs to know to achieve a given level of productivity is increasing in volume or complexity at all. What it looks like to me

RE: Perl, the new generation

2001-05-16 Thread Peter Scott
level of productivity is increasing in volume or complexity at all. What it looks like to me is that there are additional features being added which enable one to achieve greater levels of productivity and performance if one wants to learn them. -- Peter Scott Pacific Systems Design

Re: Exegesis2 and the is keyword

2001-05-16 Thread Peter Scott
what I mean. I'm sure I could get used to it, I'm just speaking to learnability. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Perl, the new generation

2001-05-16 Thread Peter Scott
Zealand... ducks -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Must pseudo-hashes die?

2001-05-15 Thread Peter Scott
features it provides. I'd like to see this in Perl 6. I detest the pseudo-hash implementation (the part that's exposed to the user, I mean). -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Perl, the new generation

2001-05-10 Thread Peter Scott
discuss here and what brave people like yourself will be implementing? If it's at all possible to discuss that without devolving into tangential political debates, I'd like to do so. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Perl, the new generation

2001-05-10 Thread Peter Scott
. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Perl, the new generation

2001-05-10 Thread Peter Scott
At 09:20 AM 5/10/01 -0700, I wrote: At some point, the Perl 6 cognomen will have attracted enough inertia that we couldn't reasonably change it even if we wanted to. Maybe that time has already come. Maybe not. Can't hurt to raise the question. I retract the last sentence. -- Peter Scott

Re: Perl, the new generation

2001-05-10 Thread Peter Scott
, Computerworld, that sort of thing.) I'm just applying the same principle here, comparing to the Perl 4 - Perl 5 change. Like I said, I figure it's a long shot; I just thought I'd run it up the flagpole. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Apoc2 - STDIN concerns

2001-05-08 Thread Peter Scott
languages like C.) Um, how do you know for sure a subroutine isn't variadic? Even if it has a fixed-length prototype, is Perl smart enough to know that it can't be called as an object method, bypassing prototype checking? -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com

Re: Apoc2 - STDIN concerns

2001-05-06 Thread Peter Scott
At 01:51 AM 5/6/01 +0100, Simon Cozens wrote: The debate rages on: Is Perl Bactrian or Dromedary? It's a Dromedary, it says so in the Colophon. But maybe the symbol of Perl 6 should be a Bactrian, with the extra hump symbolizing the increased power. You knew this was coming... -- Peter Scott

Re: So, we need a code name...

2001-05-06 Thread Peter Scott
, the word occurs in some interesting contexts. It means little aside from it being a last name, a city name, and bearing resemblence to some neat stuff. One bummer is the likeness to AMD's Duron. *shrug* durian. You want to name it after a fruit smelling of dead cows and sewer gas? -- Peter Scott

Re: So, we need a code name...

2001-05-06 Thread Peter Scott
seen one? Hard as a rock and covered with spikes. If one fell on you from more than three feet it would spell instant death, which would probably be more merciful than being exposed to the smell. Grocers either stock them outside or frozen. It's not what I'd call a positive image :-) -- Peter

Re: Strings vs Numbers (Re: Tying Overloading)

2001-04-25 Thread Peter Scott
At 09:06 PM 4/24/2001 -0700, Larry Wall wrote: Edward Peschko writes: : Ok, so what does: : : my %hash = ( 1 = 3); : my $hash = { 1 = 4}; : : print $hash{1}; : : print? 4. You must say %hash{1} if you want the other. I was teaching an intro class yesterday and as usual, there were several

Re: Parsing perl 5 with perl 6 (was Re: Larry's Apocalypse 1)

2001-04-16 Thread Peter Scott
that once perl 6 detects that it's been fed perl 5 code, it can send it to the perl 5 compiler/interpreter. Yeah, I know it makes the resulting bundle huge, but at least it separates the tasks of parsing perl5 and perl 6 into independent projects. -- Peter Scott Pacific Systems Design Technologies

RE: Larry's Apocalypse 1

2001-04-10 Thread Peter Scott
nteresting, but is probably bloatware... It should by default use a local cache, of course. I suppose if you're running it as root it should do a perl -MCPAN -e 'install HTML::Module'. I seem to have misplaced my security hat... -- Peter Scott Pacific Systems Design Technologies

Re: Larry's Apocalypse 1

2001-04-09 Thread Peter Scott
still trying to figure out why the flag needs to change. What's wrong with -e? It seems perfectly serviceable. Because Larry said that by default Perl 6 would assume that its input was in Perl 5...? So we need a way to tell it that it isn't. -- Peter Scott Pacific Systems Design Technologies

Re: Larry's Apocalypse 1

2001-04-09 Thread Peter Scott
ith, let's figure out how to avoid having to change it the next time we change Perl. -- Peter Scott Pacific Systems Design Technologies

Re: Larry's Apocalypse 1

2001-04-05 Thread Peter Scott
learning how fast he wrote the thing. Oh, and who put him up to that, eh? -- Peter Scott Pacific Systems Design Technologies

Re: Apocalypse 1 from Larry

2001-04-05 Thread Peter Scott
s just an accidental consequence of the name; suppose it had been called 'use salvation' instead? But there's no way to win a values debate. -- Peter Scott Pacific Systems Design Technologies

Re: Schwartzian Transform

2001-03-26 Thread Peter Scott
At 10:50 AM 3/26/2001 -0500, Uri Guttman wrote: "SC" == Simon Cozens [EMAIL PROTECTED] writes: SC Why can't Perl automagically do a Schwartzian when it sees a SC comparison with complicated operators or functions on each side of SC it? That is, @s = sort { f($a) = f($b) } @t would Do

Re: Distributive - and indirect slices

2001-03-19 Thread Peter Scott
At 03:18 PM 3/19/01 +, Simon Cozens wrote: That's not really nuts. Really nuts would be suggesting that all operators should distribute: @a = ($foo, $bar) . $baz # @a = map { $_.$baz } ($foo, $baz) Mmmm. I could get to like that. Seen http://dev.perl.org/rfc/82.pod? -- Peter Scott

Re: Turn 'em on! (was Re: Warnings, strict, and CPAN)

2001-03-01 Thread Peter Scott
1991-1995 Stichting Mathematisch Centrum, Amsterdam SyntaxError: invalid syntax FNORD -- Peter Scott Pacific Systems Design Technologies

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

2001-02-22 Thread Peter Scott
At 09:36 AM 2/22/2001 +, David Grove wrote: This is what's scaring me about all this talk about exceptions... it can break this mold and make Perl into a "complainer language" belching up uncaught (don't care) exceptions forcing try/except blocks around every piece of IO or DB handling. The

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

2001-02-21 Thread Peter Scott
e of destroying your files at this point... you win! 1/100 chance of producing incorrect output at this point... you win! 1/100 chance of losing user data at this point... you win! ... What if the warnings boiled down to that anyway? -- Peter Scott Pacific Systems Design Technologies

Re: Closures and default lexical-scope for subs

2001-02-20 Thread Peter Scott
At 05:27 PM 2/19/01 +, Piers Cawley wrote: Peter Scott [EMAIL PROTECTED] writes: I don't want to DWIM this. Would it be so bad to have to type GetOptions (foo = \my ($foo), bar = \my $bar); If you're really all for maintainability, then surely you mean

Re: State of PDD 0

2001-02-20 Thread Peter Scott
the old ones, enough is enough. -- Peter Scott Pacific Systems Design Technologies

Re: The binding of my (Re: Closures and default lexical-scope

2001-02-18 Thread Peter Scott
At 12:12 PM 2/18/2001 +0100, Bart Lateur wrote: On 17 Feb 2001 20:53:51 -0800, Russ Allbery wrote: Could people please take the advocacy traffic elsewhere where it isn't noise? Advocacy is noise everywhere. Not on [EMAIL PROTECTED] (http://lists.perl.org/showlist.cgi?name=advocacy)

Re: Warnings, strict, and CPAN

2001-02-18 Thread Peter Scott
edition. -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-17 Thread Peter Scott
, its damned silly that you can't give two modules on the command line. ??? $ perl -Mwarnings -Mstrict -le 'print keys %INC' Exporter.pmCarp.pmstrict.pmwarnings.pm -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-17 Thread Peter Scott
at we both think and they're probably sick of it to boot. -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-17 Thread Peter Scott
it out last November in http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-11/msg01107.html. Simon Cozens submitted a patch which failed the test; I think I found the problem with it and just submitted a revised patch to p5p. -- Peter Scott Pacific Systems Design Technologies

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

2001-02-16 Thread Peter Scott
At 09:56 AM 2/16/2001 -0500, John Porter wrote: As for the -q thing, I think it is far *less* of a burden to add "use strict" and "use warnings" when you're writing a big piece of code. When you're writing 5 lines, every extra character counts. When you're writing 500 or 5000 lines, 2

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
o Silver Bullet. Yes, but not the point. -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
y're doing and we shouldn't be using their code. More likely the latter. Right now, if I wanted to impose strictness on third-party modules, I'd have to edit the source to insert the 'use strict' that no-one seems to bother putting in a .pm. Hmph. Maybe I should be doing that, it might help.

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
At 09:36 PM 2/16/01 -0500, [EMAIL PROTECTED] wrote: On Fri, Feb 16, 2001 at 06:08:20PM -0800, Peter Scott wrote: But if you want P6 to be so backwards compatible that the largest issues are smaller than "@", an awful lot of good stuff ain't gonna make it in, it seems to me.

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
ave to remember this invisible action-at-a-vast-distance rule to figure out why code in different places behaves differently wrt pragmas. -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
anyway. How is commenting out "use warnings" at release time different from inserting "no warnings" at release time? And if they're developing the code all the way through without warnings (in which case they don't deserve to have customers), then they'll just put "no warnings" or -q in there from the start and there's no release editing required. -- Peter Scott Pacific Systems Design Technologies

Re: Warnings, strict, and CPAN

2001-02-16 Thread Peter Scott
one outside of Perl will do it and name it after a snake or something... -- Peter Scott Pacific Systems Design Technologies

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Peter Scott
At 11:49 AM 2/15/01 -0800, Randal L. Schwartz wrote: "Peter" == Peter Scott [EMAIL PROTECTED] writes: Peter Quite. But on a tangent, I see no good reason why this shouldn't be Peter given the same interpretation as "my ($a, $b, $c)" on the grounds that Peter functions t

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Peter Scott
han light, at least on the times I've brought it up, e.g., http:[EMAIL PROTECTED]/msg00025.html Better get the asbestos underwear ready. -- Peter Scott Pacific Systems Design Technologies

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Peter Scott
for a statement of the opposing viewpoint... -- Peter Scott Pacific Systems Design Technologies

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Peter Scott
$bar); tie my ($shoe) = $tring; if we made 'my' consistent with all other functions that take lists (yes-I-know-it's-not-a-function)? -- Peter Scott Pacific Systems Design Technologies

Re: End-of-scope actions: Background.

2001-02-13 Thread Peter Scott
I think you'll find this addressed already in RFCs 70, 80, and 151. At least, that was my intention. http://dev.perl.org/rfc/70.html http://dev.perl.org/rfc/80.html http://dev.perl.org/rfc/151.html -- Peter Scott Pacific Systems Design Technologies

Re: End-of-scope actions: Background.

2001-02-13 Thread Peter Scott
t for RFC 70 here. http://dev.perl.org/rfc/70.html http://dev.perl.org/rfc/80.html http://dev.perl.org/rfc/151.html -- Peter Scott Pacific Systems Design Technologies

Re: assign to magic name-of-function variable instead of return

2001-02-07 Thread Peter Scott
he 'do' in "do { ... } while ..." (well, leaving aside the fact that it would be unparseable without it). But I certainly understand your preference. -- Peter Scott Pacific Systems Design Technologies

  1   2   >