RE: Larry's Apocalypse 1

2001-04-10 Thread Philip Newton
-- a little playful fun. Would your proposal imply that I would not be able to open this file any more without resorting to "tricks" such as sysopen or './http://blabla'? Just wondering. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Unicode handling

2001-03-24 Thread Philip Newton
kind of like locale, even if you don't call it that. (And IIRC, the mapping of uppercase(LATIN LETTER SHARP S) to "SS" is also a special case for German.) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: defined: Short-cutting on || with undef only.

2001-02-16 Thread Philip Newton
ssed in p5p several times. There was even code posted to p5p at one point that would introduce the operator (spelled, I believe, |||) into the sources. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> I appreciate copies of replies to my messages to Perl6 lists.

Re: standard representations

2000-12-27 Thread Philip Newton
r numbers automatically fail-over to bigint, otherwise, for portability, one would probably be better off using bigints all the time. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> I appreciate copies of replies to messages I sent to Perl 6 lists.

Re: String representation

2000-12-21 Thread Philip Newton
ith ASCII (for example, JIS has a Yen sign in place of the backslash, I believe). Even if we ignore language- specific variants of ISO 646; I don't know whether they're still in use anywhere, but if they are, then { | } [ \ ] ~ are all out, and probably a couple of others, too (@?). C

Re: String representation

2000-12-18 Thread Philip Newton
7;m misusing UTF-32. (UTF-8 is variable-width--is UTF-32?) No. UTF-32 is always 4 bytes AIUI. UTF-8 is variable (1..4) and so is UTF-16 (either 2 or 4, though 4 bytes are needed only for characters > U+, i.e. outside the BMP or Basic Multilingual Plane). Cheers, Philip -- Philip Newton &l

Re: String representation

2000-12-18 Thread Philip Newton
to U+. However, UTF-8 is longer than UTF-16 for characters gt U+07FF (but catches up again for U+1 to U+10: both encodings need four bytes for characters in that range because of UTF-16's surrogate encoding). Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: The new api groups

2000-11-15 Thread Philip Newton
On 14 Nov 2000, Chaim Frenkel wrote: > Did I miss something? I didn't see any discussion. Was this off-line? No, on perl6-announce and perl6-internals. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: What will the Perl6 code name be?

2000-10-24 Thread Philip Newton
it? Since "use" includes a "require". (On the other hand, it's a require in a BEGIN block, so that may not be a problem after all.) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Transcription of Larry's talk

2000-10-19 Thread Philip Newton
ot;, we get something like: > > @foo wa kaite kudasai; ^^ Shouldn't that rather be "wo"? Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Transcription of Larry's talk

2000-10-19 Thread Philip Newton
t; > Nah. Only those newbies that don't speak Japanese. If we wanted to keep the > newbies out we'd write perl 6 in INTERCAL. :-P I don't think Claudio Calvelli would mind (though I don't know whether he speaks Japanese). Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Transcription of Larry's talk

2000-10-19 Thread Philip Newton
On Thu, 19 Oct 2000, J. David Blackstone wrote: > [And now they're keeping the newbies locked out by doing all > development work in Japanese.] Well, we might get lots of developers recruited from the Ruby camp ;) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Transcription of Larry's talk

2000-10-19 Thread Philip Newton
third @foo" to me.) > That brings up two questions: > - what's the ordinal for 'zeroth' Presumably, dai-rei or dai-zero. (With "zero" being pronounced zeh-ro and not zee-roh.) > - are lists 'long-flat-objects' or 'tall-cylindrical-objects' > or 'short-fat-cylindrical-objects'? > > Inquiring gaijin want to know! :-) ;) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Transcription of Larry's talk

2000-10-19 Thread Philip Newton
front. No, IMO they'd still need to go at the end. Now, whether "the end" is the left, right, or bottom depends on which way you're righting. (I've never come across Japanese being written from bottom to top.) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Reading list

2000-10-12 Thread Philip Newton
ber like a PIN number or an LCD display? [Someone once mentioned they had even heard of "personal PIN number"... eek.] -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 125 (v2) Components in the Perl Core Should Have Well-Defined APIs and Behavior

2000-10-05 Thread Philip Newton
On 5 Oct 2000, at 13:44, Dan Sugalski wrote: > At 06:19 PM 10/5/00 +0200, Philip Newton wrote: > >On 2 Oct 2000, at 16:14, Dan Sugalski wrote: > > > > > I'll have to go pick that up on Thursday and add it to the Darned Big Pile > > > of books I need to re

Re: RFC 125 (v2) Components in the Perl Core Should Have Well-Defined APIs and Behavior

2000-10-05 Thread Philip Newton
; is the bible of the genre. > > I'll have to go pick that up on Thursday and add it to the Darned Big Pile > of books I need to read. Funny how everyone seems to have on of those. (Most of the books on my DBP I haven't even bought yet.) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 357 (v1) Perl should use XML for documentation instead of POD

2000-10-05 Thread Philip Newton
be kept in mind. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> I appreciate copies of replies to my messages to Perl6 lists.

Re: RFC 357 (v1) Perl should use XML for documentation instead of POD

2000-10-04 Thread Philip Newton
derstand/patch/correct multiple markup formats. I believe Perl can still embed raw *roff. IIRC, in Perl 1, POD hadn't been invented, and Larry used raw *roff inside Perl code. However, I don't think this practice is encouraged these days ;) Cheers, Philip -- Philip Newton <[EMAIL

RE: Perl already allows XML for documentation (was Re: RFC 357 (v1) Perl should use XML for documentation instead of POD)

2000-10-04 Thread Philip Newton
pod > > =cut > > it can certainly be made to skip between: > > > Skipping between =pod and =cut is a lot easier than between and when you are reading a line at a time; you can simply strcmp them and not have to worry about what happens if there's other stu

Re: RFC 357 (v1) Perl should use XML for documentation instead ofPOD

2000-10-04 Thread Philip Newton
d set of documentation that is of no use to anyone." I think it's more likely that switching to an XML docset produces very little documentation, and what there is will be of widely varying quality. Not everyone will want to expend the effort involved to plan out, carefully, their documen

Re: RFC 288 (v2) First-Class CGI Support

2000-09-29 Thread Philip Newton
On 28 Sep 2000, at 21:36, iain truskett wrote: > * Philip Newton ([EMAIL PROTECTED]) [28 Sep 2000 21:19]: > > On 27 Sep 2000, at 23:48, iain truskett wrote: > > > > So surely you'd want %HTTP (the input headers) to also be an array > > > rather than a hash, s

Re: RFC 333 (v1) Add C and C funtions to coredistribution

2000-09-29 Thread Philip Newton
@out = header (%temp = unheader @in); If you just take unheader's output and feed it to header, the order will be the same. Thanks for bearing with me ;) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 333 (v1) Add C and C funtions to coredistribution

2000-09-29 Thread Philip Newton
s, conversion to lowercase, and so forth. > So, this call: > >@out = header unheader @in; > > Should result in C<@out> being exactly equivalent to C<@in>. It cannot, of course, since the order of hash keys obtained by flattening the hash is not necessarily the same

Re: RFC 288 (v2) First-Class CGI Support

2000-09-28 Thread Philip Newton
On 27 Sep 2000, at 23:48, iain truskett wrote: > So surely you'd want %HTTP (the input headers) to also be an array > rather than a hash, since they'd be required in order as well? I don't care, because I don't work with this much. And I don't know whether I'd need to bear in mind the protocol

Re: RFC 288 (v2) First-Class CGI Support

2000-09-27 Thread Philip Newton
Better to have something that's either (a) pluggable without having to replace all of Perl, or (b) header-agnostic, so you have to specify your own ordering -- which also means you *can* specify your own ordering. Cheers, philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 320 (v1) Allow grouping of -X file tests and add C builtin

2000-09-27 Thread Philip Newton
big arrow, which is equivalent to - "name" and a comma. Fortunately, - "string" doesn't convert "string" to a number (0) and then apply negation but results in "-string" (`perldoc perlop` says: "If the operand is an identifier, a string consisting of a minus sign concatenated with the identifier is returned. [...] One effect of these rules is that `-bareword' is equivalent to `"-bareword"'." Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: perl6storm #0050

2000-09-27 Thread Philip Newton
On 26 Sep 2000, Johan Vromans wrote: > Philip Newton <[EMAIL PROTECTED]> writes: > > > so fewer "cluttering" > > parentheses are needed to make things readable while still being correct. > > Since when do parentheses make things less readable? Each par

Re: perl6storm #0050

2000-09-27 Thread Philip Newton
On 26 Sep 2000, Johan Vromans wrote: > Philip Newton <[EMAIL PROTECTED]> writes: > > > so fewer "cluttering" > > parentheses are needed to make things readable while still being correct. > > By the same reasoning, you can reduce the use of curlie

RE: RFC idea

2000-09-26 Thread Philip Newton
On 25 Sep 2000, at 13:05, Ben Tilly wrote: > David Grove wrote: > > > However, I am speaking in generalities. If it's > > perl, it's redistributable. If it isn't redistributable, it isn't > > perl. This include both binaries and source, since binaries are only > > translations of source into anot

Re: RFC idea

2000-09-26 Thread Philip Newton
On 25 Sep 2000, at 10:03, Ben Tilly wrote: > I think David is confused about this situation, but what he > said is not entirely false. Anyone who wants can get Perl, > make changes under the GPL, and release the hacked up version > under the GPL. You would now have a GPL-only fork of Perl > whi

perl6storm #0073

2000-09-23 Thread Philip Newton
::Blurf'->meth().) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

perl6storm #0060: formats

2000-09-23 Thread Philip Newton
escape sequences cannot be defined beforehand). Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

perl6storm #0050

2000-09-23 Thread Philip Newton
more tightly than || or &&), so fewer "cluttering" parentheses are needed to make things readable while still being correct. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: PERL6STORM - tchrist's brainstorm list for perl6

2000-09-23 Thread Philip Newton
On Thu, 21 Sep 2000, Tom Christiansen wrote: > =item perl6storm #0035 > > Make A->B place A in string context, like => does. > That way no A()->B naughtiness. While still allowing explicit A()->B? Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

perl6storm #0011: interactive perl mode

2000-09-23 Thread Philip Newton
wondering whether perl was installed on a machine and typed 'perl' to see -- and "nothing happened". (I suppose either of `which perl` or `perl -v` would be a better way to find out, but still.) Having Perl tell me 'this is perl5.7.0\n> ' or similar would have be

perl6storm #0010: kill all defaults

2000-09-23 Thread Philip Newton
anal python folks. What are defaults, in this context? Things like abs taking $_ if no variable is specified? Or localtime taking time()? Or what? Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

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

2000-09-21 Thread Philip Newton
ng $seen{$word}++ turn $seen{$word} to undef is bad, if (undef)++ assumes NULL semantics everywhere, hence "one more than unknown" = "still unknown". Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

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

2000-09-21 Thread Philip Newton
nicer than $seen{$word} = (exists $seen{$word}) ? 1 : $seen{$word} + 1; or if(defined($seen{$word})) { $seen{$word}++ } else { $seen{$word} = 1 } or similar. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 226 (v2) Selective interpolation in single quotish context.

2000-09-18 Thread Philip Newton
On 15 Sep 2000, at 11:25, Steve Fink wrote: > Does it strike anyone else as odd that 'foo\\bar' eq 'foo\bar'? While 'foo\\' ne 'foo\' :-) (specifically, the former is not a syntax error :-) Cheers, Philip

Re: RFC 238 (v1) length(@ary) deserves a warning

2000-09-18 Thread Philip Newton
heers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: Perl Implementation Language

2000-09-15 Thread Philip Newton
t might be interesting to reread the whole paragraph.) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 223 (v1) Objects: C pragma

2000-09-15 Thread Philip Newton
On 14 Sep 2000, at 14:18, Nathan Wiger wrote: > Before you balk at #1 in favor of religious flexibility, please consider > how unmaintainable Perl code would be if @ARGV, or $AUTOLOAD, or STDERR, > or @INC, or chomp(), or split(), or any other widely-used variable or > function was renameable. If

Re: RFC 226 (v2) Selective interpolation in single quotish context.

2000-09-15 Thread Philip Newton
On 14 Sep 2000, at 21:06, Glenn Linderman wrote: > I _like_ the conceptual idea, here. But I think we need a different kind of > quoting, not extend single quote semantics. Single quote semantics are really, > really, good for exact quoting. I'm sure you (since you mention VMS) find single > q

Re: RFC 226 (v2) Selective interpolation in single quotish context.

2000-09-15 Thread Philip Newton
On 15 Sep 2000, at 1:10, Perl6 RFC Librarian wrote: > With this proposal, the scalar C<$filename> can be tagged to be interpolated > by the C<\I...\E> pair and the double quotish context replaced by single > quotish context resulting in the following: Definitely with this change, you should incl

Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch

2000-09-14 Thread Philip Newton
, there's no guarantee that %ld is the correct format to print it out. Might as well be %llu or %d as %ld. Maybe POSIX makes more guarantees. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 215 (v2) More defaulting to $_

2000-09-14 Thread Philip Newton
or in a list context, does "C<< (<>); >>" break, or does it mean something like "C>> @_ = <>; >>" ? I especially wonder about your c<;> escape. > =head2 3: For Functions In General > > "C;", "C", and many others could use C<$_>. Er, they already do. man perlfunc, and/or see my list above. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 215 (v2) More defaulting to $_

2000-09-14 Thread Philip Newton
t;Press any key" and wasting the > input. I suggest again: s/"<>"/"C<< <> >>"/g; s/C<$_ = > <>/C<< $_ = <> >>/; Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 215 (v1) More defaulting to C<$_>.

2000-09-13 Thread Philip Newton
>". I can't yet think of code that this extension would break. And by the way, this would break code that uses <>; to discard a line of input but wishes to preserve $_. (For example: print "Press Enter to continue\n"; ; print "Continuing to operate on '$_'\n";) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-08-31 Thread Philip Newton
On 31 Aug 2000, Perl6 RFC Librarian wrote: >my format $FILE_FORMAT = > @<<<<<<<<<<<<<: @<<<<<<<< > $name, $ssn > . > > Then this is even less different and scary. Get rid of that C and > it's Perl 5. s/that C/that C and the dollar sign/; Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 155 (v2) Remove mathematic and trigonomic functions fromcore binary

2000-08-30 Thread Philip Newton
On 28 Aug 2000, Perl6 RFC Librarian wrote: > This and other RFCs are available on the web at > http://dev.perl.org/rfc/ > > =head1 TITLE > > Remove mathematic and trigonomic functions from core binary $RFC[155] =~ s/trigonomic/trigonometric/g; Cheers, Philip -- Phi

Re: RFC 110 (v3) counting matches

2000-08-30 Thread Philip Newton
On Tue, 29 Aug 2000, Mark-Jason Dominus wrote: > OK, I think this discussion should be closed. I think the bit about "having a special array containing all captured matches" might well still live on. The "counting" bit _per se_ is probably fairly closed, though. Ch

Re: RFC 162 (v1) Filtering Here Docs

2000-08-29 Thread Philip Newton
On 27 Aug 2000, Perl6 RFC Librarian wrote: > With a here doc print <

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and HereDocs)

2000-08-29 Thread Philip Newton
ng out in the body of the document, makes indenting blocks of text > difficult and causes errors and confusion. s/verbatum/verbatim/; Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 110 (v3) counting matches

2000-08-29 Thread Philip Newton
I use in a script of mine is: while ($string =~ /(\d\d)-(\d\d)-(\d\d)/g) { ($mo, $dy, $yr) = ($1, $2, $3); } Although this, of course, also requires that you know the number of backreferences. Nicer would be to be able to assign from @matchdata or something like that :) Cheers, Phi

Re: RFC 111 (v1) Whitespace and Here Docs

2000-08-17 Thread Philip Newton
stops working. I think the above method (having to add your own spaces, in the exact number required at the moment) is too fragile. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 99 (v2) Standardize ALL Perl platforms on UNIX epoch

2000-08-17 Thread Philip Newton
ikely that there will be any in the near future, but that there is provision for them. The IERS (International Earth Rotation Service) monitors things and sends out a bulletin twice a year, saying whether there will, or will not, be a leap second on 30 June or 31 December (and which sign it will have if there is one). Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]>

Re: RFC 110 (v1) counting matches

2000-08-16 Thread Philip Newton
ing loop round a m//g. But this all seams rather messy. $count = () = $variable =~ m/foo/g; The () puts the match into list context (so the matches themselves are returned), and that list assignment evaluated in scalar context, giving the number of values assigned to the list. Cheers, Philip -