RE: Larry's Apocalypse 1

2001-04-10 Thread Philip Newton
ply 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: What will the Perl6 code name be?

2000-10-24 Thread Philip Newton
'use strict "compilation"' or whatever"? Hm, but such code (for non-trivial programs) will re-invent the wheel a whole lot, won't 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

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

2000-10-05 Thread Philip Newton
-- Philip Newton [EMAIL PROTECTED] I appreciate copies of replies to my messages to Perl6 lists.

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

2000-10-04 Thread Philip Newton
[Iain, I'd really appreciate it if you'd copy me on your replies to my posts. The volume is so high that I don't always get time to grovel through the digests in a timely manner.] On Sat, 30 Sep 2000, iain truskett wrote: * Philip Newton ([EMAIL PROTECTED]) [30 Sep 2000 02:47]: However

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

2000-10-04 Thread Philip Newton
ore 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 document structure and produce lovely docs. Cheers, Philip -- Philip Newton [EMAIL PROTECTED] I

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
between: pod /pod Skipping between =pod and =cut is a lot easier than between podand/pod 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 stuff before and after the tags. Cheers, Philip -- Philip Newton [EMAIL

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

2000-10-04 Thread Philip Newton
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 PROTECTED] I appreciate copies of replies

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

2000-09-29 Thread Philip Newton
cannot, of course, since the order of hash keys obtained by flattening the hash is not necessarily the same as when you built the hash. So you might feed in an @in with "Foo: bar" and "Hello: world", unheader it into a hash, header it back into an array, and get "Hello: world" followed by "Foo: bar". This may or may not be a problem. Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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

2000-09-29 Thread Philip Newton
will be the same. Thanks for bearing with me ;) Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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: 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 curlies by using indentation to define block struct

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 parenthesis is one "token". The

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

2000-09-27 Thread Philip Newton
hen 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]

perl6storm #0010: kill all defaults

2000-09-23 Thread Philip Newton
? Things like abs taking $_ if no variable is specified? Or localtime taking time()? Or what? Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

perl6storm #0050

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

perl6storm #0060: formats

2000-09-23 Thread Philip Newton
be defined beforehand). Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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

2000-09-21 Thread Philip Newton
ists $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 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 include a

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

Re: RFC 223 (v1) Objects: Cuse invocant 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 215 (v2) More defaulting to $_

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

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

2000-09-14 Thread Philip Newton
wonder about your c; escape. =head2 3: For Functions In General "Cstat;", "Clength;", 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 (v1) More defaulting to C$_.

2000-09-13 Thread Philip Newton
of input but wishes to preserve $_. (For example: print "Press Enter to continue\n"; STDIN; 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 Cmy and it's Perl 5. s/that Cmy/that Cmy and the dollar sign/; Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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 ZZZ; the here doc, is processed verbatum. ITYM "verbatim". Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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

2000-08-17 Thread Philip Newton
onal 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
. 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 -- Philip Newton

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

2000-08-12 Thread Philip Newton
On Fri, 11 Aug 2000, Nathan Wiger wrote: Philip Newton wrote: So if we're now on 1-indexing, we'll see lots of @months = (undef, 'Jan', 'Feb') or qw(dummy Jan Feb)... oh well. Far better, use the new builtin object methods: $d = date; print "today is ", $d-date('%A');

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

2000-08-12 Thread Philip Newton
AFAIK. Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

Re: RFC 90 (v1) Builtins: zip() and unzip()

2000-08-11 Thread Philip Newton
. Unless I misunderstood the example and you wanted the result to be ([1,2,3], [4,5,6]) in which case unzip would not have to do nearly as much work. But then (1..7) would unzip(3) into ([1,2,3], [4,5,6], [7]). Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

Re: RFC 94 (v1) Rename @ARGV to @ARGS

2000-08-11 Thread Philip Newton
RGV (name of current file while reading from ) will not collid with @ARGS if sigils were dropped (aka Highlander notation). Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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

2000-08-11 Thread Philip Newton
And why not, pray? I'd like to see the justification for this decision. 8. Reverted to GMT from UTC since most systems are internally maintained in GMT, not UTC. What's the difference? Cheers, Philip -- Philip Newton [EMAIL PROTECTED]

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

2000-08-07 Thread Philip Newton
of the time, whether in CGI code or not. Cheers, Philip -- Philip Newton [EMAIL PROTECTED]