Re: formats and localtime

2000-07-31 Thread Bryan C . Warnock
It would probably be a good module to work out overloading on as well. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: perl 6 requirements

2000-07-31 Thread Bryan C . Warnock
rovides the bitwise ops, and pack and unpack, and that's about it. One of my submissions to Horos's list was the ability to have a little more hooks in for raw buffer manipulation. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: formats and localtime

2000-07-31 Thread Bryan C . Warnock
ate? (Is it POSIX?) Perhaps a Unix::(Tools|Calls|Toys) module? Of course, this may actually be a little off topic for this list, and better suited for internals. (ie, it shouldn't matter how Perl implements it as long as it works, no?) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: What is Perl?

2000-08-01 Thread Bryan C . Warnock
Most just have one thread. ;-) I'll have an RFC on this for the internals group if I don't stumble across one later. -- Bryan C. Warnock ([EMAIL PROTECTED])

RFC: Request For New Pragma: Implicit

2000-08-01 Thread Bryan C . Warnock
The librarian address doesn't seem to be working, so I'm injecting this here. =head1 TITLE Request For New Pragma: Implicit =head1 VERSION Maintainer: Bryan C. Warnock <[EMAIL PROTECTED]> Date: 01 Aug 2000 Version: 1 Mailing List: perl6-language Num

Re: What is Perl?

2000-08-01 Thread Bryan C . Warnock
ng. Removing automatic runtime checking in favor of an op indicating runtime checking will double the size of the optree, and make regular perl that much slower with everything else. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-01 Thread Bryan C . Warnock
confused and less at home with Perl? Forget the Unix and C programmers, what about the Perl programmers? -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-01 Thread Bryan C . Warnock
e standard Perl I/O with, say, O/I, they could. I suppose whatever ends up as 'Perl 5 mode' would auto-include the modules the former core functions disappeared into. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC: Request For New Pragma: Implicit

2000-08-02 Thread Bryan C . Warnock
o be more. My Perl didn't come with instructions, just a little tag that said, "Use me." -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC: Request For New Pragma: Implicit

2000-08-03 Thread Bryan C . Warnock
^Huse this in production code, but I guess anything and everything can be dangerous. (Hence the warning on the Pop-Tart sleeves that tell you to remove the wrapper before putting them in the toaster.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 2 (v1) Request For New Pragma: Implicit

2000-08-03 Thread Bryan C . Warnock
allow me to impliment this as a module vice a pragma; I've another RFC coming with a similar, (but more valid, you'll be glad to know) issue); mumkin tomorrow.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 16 (v1) Keep default Perl free of constraints su

2000-08-03 Thread Bryan C . Warnock
make a bad analogy, it's like a TV show amidst a recast. Add a new character out of the blue? Well, okay, I can buy that. Kill a character off? Umm, I can live with that too, I guess. But to tell me that Dick York and Dick Sargent are the same Darrin Stephens? It's a little disconcerting to look at. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 17 (v1) Organization and Rationalization of Perl

2000-08-04 Thread Bryan C . Warnock
say "setuid". (Plus, my Arabic skills have drastically waned.) :-( -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 16 (v1) Keep default Perl free of constraints su

2000-08-04 Thread Bryan C . Warnock
thing once in Perl, it doesn't need to be rewritten. :-P The key word above is "encourage". You're not really encouraging anything - you're now having the language mandate particular constructs, without the added benefit of teaching people why these constructs are important. > Or wouldn't perl without the bad reputation really be perl anymore?... I find that the only bad rep Perl really gets is that it is too powerful from a UI perspective. People are afraid of TMTOWTDI. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 2 (v1) Request For New Pragma: Implicit

2000-08-04 Thread Bryan C . Warnock
(for you), you can't use '?' because it would be > ambiguous WRT the ?PATTERN? syntax. Well, actually, I *did* start off using '?' for print. (As Damian has proven time and again, import filters are wonderful toys. :-) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-05 Thread Bryan C . Warnock
ion. > > ?pattern? # one-time match > > split ?pat? # implicit split to @_ Which is currently labeled as deprecated, I believe. Most things labeled (or treated, such as pre-pod embedded docstrings) as deprecated should/could be removed. > > What

Re: RFC 42 (v1) Request For New Pragma: Shell

2000-08-06 Thread Bryan C . Warnock
Yes, it's lc 'shell' everywhere but the title. It's that damned disconnect between English and, English. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 42 (v1) Request For New Pragma: Shell

2000-08-06 Thread Bryan C . Warnock
ackticks. @results = `$shell_command`; It's intuitive, quick, and DWIM. Surely, Perl on Windows doesn't require /bin/sh, does it? -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 48 (v1) Replace localtime() and gmtime() with da

2000-08-06 Thread Bryan C . Warnock
for the measurements the platform doesn't support. Or maybe a fractional second, drop the smaller fields, and include a resolution field that would tell you how many digits are valid? printf "%.${digits}f", $sec; perhaps? > > --Gisle -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Language RFC Summary 4th August 2000

2000-08-04 Thread Bryan C . Warnock
issue. Whether Perl continues to support formats certainly is, but its location within Perl is more of an internals thing. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 53 (v10) Built-ins: Merge and generalize C

2000-08-07 Thread Bryan C . Warnock
e the picture? .. .. .. .. .. .. Oh, now I get it. I understand now, but that certainly wasn't my first, second, or third interpretation of it. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 55 (v1) Compilation: Remove requirement for fina

2000-08-07 Thread Bryan C . Warnock
ore. (I wanted to watch the order of various modules being used, and was testing out my implicit print hack. :-) Neither case should be considered justification for any decision being made. I tend to be a fringe programmer, and do things just because I can. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-08 Thread Bryan C . Warnock
ge it" argument a couple of times now and it's > not a strong enough argument. The whole point is to clean up the > language. Most of the requests for deletion seem to begin with, "This isn't used..." To which, "*I* use it." is a very valid argument. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 50 (v1) BiDirectional Support in PERL

2000-08-08 Thread Bryan C . Warnock
dling this. After all, in some cases it's more than just a scalar reverse. Formatting, Text::Wrap, etc, for instance, has to wrap the other way. Perhaps a sub-list to hash out how we can do this without bloating Perl too much? -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Error handling

2000-08-08 Thread Bryan C . Warnock
On Tue, 08 Aug 2000, Brad hughes wrote: > > Why not? Throw and catch are familiar to programmers. > > Not all programmers. > Oops, correct. My mistake. Even more reason not to introduce yet another lexicon. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-08 Thread Bryan C . Warnock
On Tue, 08 Aug 2000, Casey R. Tweten wrote: > Today around 6:55pm, Bryan C. Warnock hammered out this masterpiece: > > : chop, chomp, (champ, chimp, chump, chap, and chip, which, respectively, > : deletes all leading and trailing whitespace characters, all leading > : whitespace

Re: RFC 65 (v1) Add change bar functionality to pod

2000-08-09 Thread Bryan C . Warnock
this a web-based CPAN resource, but > boy this should not clutter up every module out there. We tried this, too. It worked, but was a little too awkward for our use. (And failed the requirements in the end anyway.) FFT. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: chomp & unchomp

2000-08-09 Thread Bryan C . Warnock
out unchomp would be like having <= but not having >= > [see note]. Sure you can get by without it- just change the order of the > args, but why would you want to? If you have one, the other needs to be > there for, if nothng else, parity. > chomp() uses $/, I believe. $\ is

Re: chomp & unchomp

2000-08-09 Thread Bryan C . Warnock
On Wed, 09 Aug 2000, John Porter wrote: > Bryan C. Warnock wrote: > > > > Chomp removes one or more line separators from the end. > > It does? You're using a different version of Perl than I am. Sorry. You're correct. I was rolling the string, list, and parag

Re: vector and matrix calculations in core? (was: Re: Ramblings on "base class" for SV etc.)

2000-08-09 Thread Bryan C . Warnock
Hmm, maybe I should have changed the subject back to rambling -- Bryan C. Warnock ([EMAIL PROTECTED])

RE: RFC 58 (v1) C changes.

2000-08-09 Thread Bryan C . Warnock
ise, I just ignore it.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Overloading && ||

2000-08-09 Thread Bryan C . Warnock
This was the RFC that I never found the gall to write, because I've identified no solutions, and have found only problems. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Overloading && ||

2000-08-09 Thread Bryan C . Warnock
ut will *still* be valid Perl whatever that is. Regardless of whether this is any clearer, I've still no idea how this could be done. And I'm sure TMTOWTDI outside of all this. -- Bryan C. Warnock ([EMAIL PROTECTED])

And A Parser In A Pared Tree (was Re: Overloading && ||)

2000-08-10 Thread Bryan C . Warnock
On Thu, 10 Aug 2000, David L. Nicol wrote: > "Bryan C. Warnock" wrote: > > > This was the ass that I never found the gall to scratch, because I've > > identified no solutions, and have found only problems. > > > > -- > > Bryan C. Warnock >

Re: RFC 83 (v1) Make constants look like variables

2000-08-10 Thread Bryan C . Warnock
y it wasn't simply made a read-only scalar. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 85 (v1) All perl generated errors should have a

2000-08-10 Thread Bryan C . Warnock
ple classifications, it may make more sense to switch the two. CLASS.ERROR This may make it easier for users to register their own errors under pre-existing classes. Another idea would be two shorts, one for each. (Where you could either handle numbers or bitmaps.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 48 (v2) Replace localtime() and gmtime() with da

2000-08-12 Thread Bryan C . Warnock
ce is simple enough, I don't care what the interface is. Although, (and this may have already been mentioned/suggested/accepted/rejected), if you're going to have an object interface, perhaps the constructor can take the strftime string for use as the default scalar output? -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: named parameters

2000-08-04 Thread Bryan C . Warnock
something should be a valid, meaningful construct in Perl, regardless of the implementation, is the focus of the language team. Perhaps a better job of making this distinction will keep the language list from its current bloat, as skud pointed out. The language list keeps migrating from "why" to "how".) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 109 (v1) Less line noise - let's get rid of @%

2000-08-15 Thread Bryan C . Warnock
.all(List)=="Programmers") ->programs=(Language::Programming.uses("Perl")==true && Methodology.implemented(Style.OO==true,Time.all==true)))==true; -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Language WG report, August 16th 2000

2000-08-16 Thread Bryan C . Warnock
ll the discussion is taking place in the master list before the sublists are spawned. You can only express the opinion that foo is not bar and never should be so many times. (To be fair, I collapse my lists, and don't pay attention to what is posted to what list.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 111 (v1) Whitespace and Here Docs

2000-08-16 Thread Bryan C . Warnock
esire maintaining relative indentations, and not the arbitrary removal of all leading whitespace. Wasn't there a recipe for this? (Although I wouldn't mind seeing it implicit to the language.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 99 (v1) Maintain internal time in Modified Julian (not epoch)

2000-08-14 Thread Bryan C . Warnock
t MJD, although it would still have to be converted to native format anyway.) I can understand wanting to present the user with a common, multi-platform, consistent date/time interface, but I don't understand extending that to the internals. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFCs (Re: Ideas that need RFCs?)

2000-08-18 Thread Bryan C . Warnock
(or because!) of our efforts here. We can make it easier for the users to adapt, but Perl will need to continue to evolve, as well. (As spoken by a one-eyebrow, knuckle-dragging Neanderthal) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 99 (v1) Maintain internal time in Modified Julian (not epoch)

2000-08-15 Thread Bryan C . Warnock
e standard UNIX epoch as well. Internally, you should use whatever the platform you're running on uses. Externally, you can use whatever you'd like. > > -Nate -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 109 (v1) Less line noise - let's get rid of @%

2000-08-15 Thread Bryan C . Warnock
27;,'Betty'); > > my $male_speakers = $speakers[0:1]; # If perl supported this style of range - see >RFC coming soon > > # BUT: > > my $image = read_huge_2d_list_of_numbers('file'); > > my $favorite_pixels = $image[10:20,50:100]; > my $best_pixel = $image[11,55]; > > > Karl -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-23 Thread Bryan C . Warnock
"... Doesn't a lot of OO work (esp. on the Mac) tend to do this? The first thing they do in their application is instantiate an application (mainly, itself, without the application instantiation) and run it. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: ... as a term

2000-08-23 Thread Bryan C . Warnock
s in English! > > We pronounce it something similar to "way way way". I, personally, prefer the Stoogian "Whoop whoop whoop!" Although it's hard to stop at three. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 143 (v1) Case ignoring eq and cmp operators

2000-08-24 Thread Bryan C . Warnock
than your main program. We're going to have to > think of a way to consistently say "do this in my caller's lexical > scope" without it becoming a nasty upvar hell. Not that it adds much information, but this is the lament of RFC 40. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 2 (v3) Request For New Pragma: Implicit

2000-08-30 Thread Bryan C . Warnock
ng to turn it off. (There may have been some confusion in the default settings. The implicit arg would be 'on' by default. To turn it off would require: no implict arg; Use could then turn it back on again.) Trust me, I've no desire of removing the features that won me over

Re: RFC 50 (v1) BiDirectional Support in PERL

2000-08-08 Thread Bryan C . Warnock
low visual RTL. (s/will need to/should/, I suppose.) I doubt that many people on the list have a personal involvement in this issue, and shouldn't care one way or another if we can implement it without penalty to everyone else. It may be that we just add this as another reason to do foo() like bar. (Hence my suggestion to get it down out of everyone's way.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Error handling

2000-08-08 Thread Bryan C . Warnock
sily developed using threads. > something which I hope to develop when perl6 is ready...) > I don't understand this paragraph. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-08 Thread Bryan C . Warnock
first character) are all efficient string idioms for which a regular expression is overkill. If external modules become as efficient as we hope they are, there is no reason that *any* of the above should be CORE perl, but chop and chomp should certainly remain in the core distro. As is. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 64 (v1) New pragma 'scope' to change Perl's defa

2000-08-08 Thread Bryan C . Warnock
per scope, unless it's explicitly ignoring the upper scope. While its true you can suffer a similar fate by supplanting a global variable with a lexical variable in an intermediate scope, you're not changing the scope context of the lower-level variables. It's one thing to call a wrong number. It's another when the phone company changes your number for you. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Things to remove

2000-08-08 Thread Bryan C . Warnock
On Tue, 08 Aug 2000, Bennett Todd wrote: > If perl6 substantially fails to fill the important roles that perl5 > fills, we should stop screwing everybody up by calling it "perl", > and call it something else. Hmmm. I vote for "Edsel." -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 195 (v1) Retire chop().

2000-09-07 Thread Bryan C . Warnock
t-and-measure-derived naming convention would be replaced with something a little more... Anglican. So yes, but no. Or no, but yes, since the question was asked in the negative. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 42 - Request For New Pragma: Shell

2000-09-13 Thread Bryan C . Warnock
it could also be just as easily rolled in, although I think that might be counter-intuitive. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 42 - Request For New Pragma: Shell

2000-09-13 Thread Bryan C . Warnock
7;t name things very meaningful anyway, now do I? All I care about is the underlying functionality. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 259 (v2) Builtins : Make use of hashref context for garrulous builtins

2000-09-21 Thread Bryan C . Warnock
e various existing modules that provide this type of interface. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: IDEA: my() extensions and attribute declarations

2000-09-21 Thread Bryan C . Warnock
On Wed, 20 Sep 2000, Nathan Wiger wrote: >my int ($x, $y), char $z; # mix classes >my int ($x, $y) :64bit, char $z :long; # and attrs my (int ($x, $y), char $z); my (int ($x, $y) :64bit, char $z :long); -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 263 (v1) Add null() keyword and fundamental data type

2000-09-22 Thread Bryan C . Warnock
ink it's where you're likely to find your solution. (Particularly with vtables behind them.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Non-RFC: Revisit (Un)signed Integer Bit Ops?

2000-09-29 Thread Bryan C . Warnock
dditions allow you to cast types? New keywords? int() and uint(), for example? New operator for right-shifting (sign-bit propagation)? >>>? Stay the course? -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: RFC 361 (v1) Simplifying split()

2000-09-30 Thread Bryan C . Warnock
ength $x[-1]) { pop @x } Which, to me, is a good reason to keep the current behavior. -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: Expunge "use English" from Perl?

2000-10-02 Thread Bryan C . Warnock
unds, and supposedly 'this or that' is less common for file tests.) -- Bryan C. Warnock ([EMAIL PROTECTED])

Re: [FWP] sorting text in human-order

2001-01-05 Thread Bryan C. Warnock
ne hundred thousand ten millionths. How did we get on this subject? Oh, yes, sorting by the number spelled out... That should throw several cultures for a loop. Four and twenty blackbirds, baked 'e' and 'pi'. > > Ghod knows how this GST would have you pronounce 5.

Re:

2001-02-08 Thread Bryan C . Warnock
DWIMs. Sort of a self-executable zip file. -- Bryan C. Warnock bwarnock@(gtemail.net|capita.com)

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-11 Thread Bryan C . Warnock
trigger garbage collection and resource reallocation? (Not that this addresses the remainder of your post.) -- Bryan C. Warnock bwarnock@(gtemail.net|capita.com)

Re: Garbage collection

2001-02-11 Thread Bryan C . Warnock
the destruction > order problem. Well, no. My thought would be if A needed to be destroyed before B, then B wouldn't/shouldn't be marked for GC until after A was destroyed. It might take several sweeps to clean an entire dependency tree, unfortunately. -- Bryan C. Warnock bwarnock@(gtemail.net|capita.com)

Re: Auto-install (was autoloaded...)

2001-02-12 Thread Bryan C. Warnock
the archive and decompress it on-the-fly. Is that '.tar and .zip' as in '.tar and .zip' or '.tar or .zip'? Aren't most tars still unindexed, requiring a full file scan anyway? -- Bryan C. Warnock [EMAIL PROTECTED]

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

2001-02-15 Thread Bryan C . Warnock
So you want to force people to adhere to strict rules, but it would be too onerous to force them to adhere to strict rules? (Personally, I don't care about the extra warnings, as long as I can shut them up. That doesn't really change perl's behavior. Forced strictness does.) -- Bryan C. Warnock bwarnock@(gtemail.net|capita.com)

Re: Closures and default lexical-scope for subs

2001-02-16 Thread Bryan C . Warnock
On Friday 16 February 2001 07:36, Branden wrote: > But it surely isn't > consistent with the rest of the language. It's consistent with "our" and "local", which are really the only other things in the language that parallel its use. -- Bryan C. Warnock bwarnock@(gtemail.net|capita.com)

Re: Closures and default lexical-scope for subs

2001-02-16 Thread Bryan C . Warnock
improvement to the product, - you don't make any of these decisions arbitrarily. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Closures and default lexical-scope for subs

2001-02-16 Thread Bryan C . Warnock
he should not put parenthesis around `my's list of variables. Then maybe the documentation should be improved. Maybe makng a clearer delineation and how and why and when these work are in order. Particularly once attributes come out in full force, which will also bind more tightly than ,

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

2001-02-16 Thread Bryan C . Warnock
led. The actual code was (my($foo),local($"),our($bar),my($baz)) = @_; ;-) -- Bryan C. Warnock [EMAIL PROTECTED]

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

2001-02-20 Thread Bryan C . Warnock
sound effects, and this voice-over guy that gives instructions. The first instruction given in the setup box? If you'd like to turn off the voice, click this box. Nothing else is sound dependent. Somehow I think there's a lesson to be learned here. -- Bryan C. Warnock [EMAIL PROTECTED]

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

2001-02-20 Thread Bryan C . Warnock
On Tuesday 20 February 2001 16:03, John Porter wrote: > Bryan C. Warnock wrote: > > > > And there's a difference between warnings originating because something has > > gone wrong and those originating because I'm doing something particularly > > per

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

2001-02-20 Thread Bryan C . Warnock
hould the Perl cabal deem that, for Perl to improve, it *must* undergo these radical changes, I will, to the best of my meager abilities, attempt to implement them. My position may seem a bit extreme - after all, didn't I, in the second RFC, attempt to autoprint statements in a void context? I started in the middle of the road, but as arguments like this have continued, I've moved wy to the minimalist's side. Hey, overhaul Perl to your heart's content so that you're able to do x, y, and z; just so long as Perl itself doesn't do x, y, and z. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Schwartzian transforms

2001-03-28 Thread Bryan C. Warnock
tch every time. > Of course, we may not be able to say that, in which case hints of any sort > are a Good Thing. Yes. One way or t'other. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Schwartzian transforms

2001-03-28 Thread Bryan C. Warnock
d work for plain perl > data structures as well, as we might potentially be doing a fair amount of > data conversion through the variable vtable interface. (Not to mention the > issues of data mangling for proper Unicode sorting support) > > Dan > > --"it's like this"--- > Dan Sugalski even samurai > [EMAIL PROTECTED] have teddy bears and even > teddy bears get drunk -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Dot can DWIM without whitespace

2001-04-25 Thread Bryan C . Warnock
pull double duty as a decimal point, as well. '4.5' (4.5) vs '4 .5' (45) vs '4. 5' (missing operator) -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Dot can DWIM without whitespace

2001-04-25 Thread Bryan C . Warnock
(missing operator) > > beautiful. Then extending this is simple, consistent, easy to read, > compatible with perl5.. I'm not sure that that was the point I was trying to make. If nothing else, the '.' would then be responsible for *three* different actions. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Apoc2 - concerns

2001-05-05 Thread Bryan C . Warnock
= ( foo => 1, bar => '=>', baz => 1 ) Or it could be %foo = ( foo => 1, bar => 1, '=>' => 'baz' ) But I like the concept of a quote hash. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: what I meant about hungarian notation

2001-05-09 Thread Bryan C . Warnock
C, with thousands of > typedefs representing basic types ("LPSTR" and "HWND" come to mind as the > most common). Not mention the hoop-jumping required to keep variable names in sync with code changes. (signed-ness, short->int->long, etc) -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Bryan C . Warnock
? You didn't test it before you posted it? For shame! ;-) -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Bryan C . Warnock
On Tuesday 15 May 2001 21:17, Simon Cozens wrote: > On Tue, May 15, 2001 at 09:11:21PM -0400, Bryan C. Warnock wrote: > > What? You didn't test it before you posted it? For shame! ;-) > > Bah. Damian and I are working on ways of prototyping the Perl 6 > interpreter in

Parsing perl > 6.0

2001-05-16 Thread Bryan C. Warnock
e perl 6.0; use >= perl 6.0; # or use perl >= 6.0? -- Bryan C. Warnock [EMAIL PROTECTED]

Re: my $howmany=wantarray; while($howmany--){push @R,onemore};

2001-06-02 Thread Bryan C . Warnock
vice -1 for all items.) -- Bryan C. Warnock [EMAIL PROTECTED]

Re: my $howmany=wantarray; while($howmany--){push @R,onemore};

2001-06-02 Thread Bryan C . Warnock
On Saturday 02 June 2001 11:21 am, Bryan C. Warnock wrote: > On Friday 01 June 2001 11:06 pm, David L. Nicol wrote: > > having wantarray return the number of items needed, or -1 for > > all of them, would work very nicely for user-written partial returners. > > > > Did

Re: as long as we are discussing 'nice to have's...

2001-07-25 Thread Bryan C. Warnock
hat they are. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: if then else otherwise ...

2001-07-29 Thread Bryan C . Warnock
ery = qq{ SELECT ... FROM ... WHERE field $c[$cond] $x }; print "$query\n"; } Even less to type. Maybe not all *that* clear, but no less than ?:, ?::, and ?:?: all meaning different things. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: if then else otherwise ...

2001-07-29 Thread Bryan C . Warnock
methods) I can think of are: $x = ($default,$a,$b)[$b<=>$a]; # Much like I did before ($x) = sort { $a <=> $b or $default } ($a,$b); # Since <=> and cmp were created more-or-less specifically for sort The former is faster than the latter, but neither are as quick as the more c

Lexicals within statement conditionals

2001-07-30 Thread Bryan C . Warnock
). Although I now understand what it does, I'm still fuzzy on the why and how. Can someone in the know give a clear enough explanation that I can document? The rest of you can debate whether or not this behavior should change for Perl 6. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: Lexicals within statement conditionals

2001-07-30 Thread Bryan C . Warnock
On Monday 30 July 2001 05:37 am, Me wrote: > In a nutshell, you are viewing: > > foo if bar; > > as two statements rather than one, right? > Yep. The 5.7 docs explain it rather well, I think. Too bad I didn't read them until *after* I had posted and taken off

Re: if then else otherwise ...

2001-07-30 Thread Bryan C . Warnock
On Monday 30 July 2001 07:29 am, Bart Lateur wrote: > On Sun, 29 Jul 2001 19:36:43 -0400, Bryan C. Warnock wrote: > >$x = ($default,$a,$b)[$b<=>$a]; # Much like I did before > > Note that > > $x = cond? a : b > > does lazy evaluation, i.e. the value fo

Extending POD (was (indented tables))

2001-08-01 Thread Bryan C . Warnock
(migrated from perl-qa) On Wednesday 01 August 2001 03:10 pm, David L. Nicol wrote: > "Bryan C. Warnock" wrote: > > I didn't have a good solution for tables, mainly because I didn't like a > > tab, comma, or pipe separated solution. (Which isn't intended

Re: stealing something from plan9 os

2001-08-01 Thread Bryan C . Warnock
ping ease, and -> isn't that > > hard to type. That's what editor macros are for. > > What about replacing "->" with "/" ? Your idea aside, I think the substitution was more to gain the '.' than to replace the '->'. -- Bryan C. Warnock [EMAIL PROTECTED]

properties, revisited

2001-08-01 Thread Bryan C . Warnock
legal? An error? # (The chomp character is defined by the IRS attribute of a filehandle.) # Can I define something that says to chomp the values entered # into the hash? The keys? # What if the hash is tied to a filehandle? -- Bryan C. Warnock [EMAIL PROTECTED]

Re: properties, revisited

2001-08-03 Thread Bryan C . Warnock
n traditional get_ and set_ methods? Properties interract with (potentially dynamic attributes), while member functions do the real work. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: properties, revisited

2001-08-03 Thread Bryan C . Warnock
r indices), but would allow the internal values to be changed. Today, I don't particularly care anymore. In any case, properties will be pushed to the bottom of my stack for things to document. There's a lot of Perl 6 contending for the bottom position, it seems. -- Bryan C. Warnock [EMAIL PROTECTED]

Re: properties, revisited

2001-08-03 Thread Bryan C . Warnock
On Thursday 02 August 2001 08:47 pm, Dan Sugalski wrote: > At 06:57 PM 8/2/2001 -0400, Bryan C. Warnock wrote: > >Here's how I'm documenting it. Corrections requested. > > > >Properties are by Perl thingy. (scalar, array, hash, reference, blessed > >refe

Re: properties, revisited

2001-08-04 Thread Bryan C . Warnock
wouldn't be bad, except that there is a distinction between variables and the values they contain. For "out of band" data, properties sure have a strong affect on things. -- Bryan C. Warnock [EMAIL PROTECTED]

  1   2   >