Re: renaming grep to where

2006-09-19 Thread Randal L. Schwartz
Smylers == Smylers [EMAIL PROTECTED] writes: Smylers No: no aliases. Perl does not have a tradition of these, except for/foreach. :) But I agree with the rest of your position. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http

Re: Nested statement modifiers.

2006-09-02 Thread Randal L. Schwartz
, and it *does* help the overall readability. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread Randal L. Schwartz
Please, let us agree to use the traditional name of environment variables in the docs, and not re-introduce its bastardized cousin, which hurts my ears. Thanks. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com

Re: handling undef better

2005-12-21 Thread Randal L. Schwartz
comparison will be simpler and cheaper than specifying the sort key. So, we need both, but if we get only one, the Perl5 way is superior. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

Re: handling undef better

2005-12-21 Thread Randal L. Schwartz
interface. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

execution platform object? gestalt?

2005-07-27 Thread Randal L. Schwartz
. This is similar to the OS-9's gestalt tables, which got smarter as the operating system had more features, but was a consistent way to ask do we have a color monitor here?. Is something like this already planned? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: reduce metaoperator on an empty list

2005-05-20 Thread Randal L. Schwartz
never want to go back to reduce. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open

Re: Definitive and Complete Perl 6 Operator List

2005-04-03 Thread Randal L. Schwartz
Larry == Larry Wall [EMAIL PROTECTED] writes: Larry The shifts are all X rather than X to avoid confusion with Texas Quotes. I've been staring too much at POD lately. I saw both of those as very broken pod-start marks. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503

Lexing requires execution (was Re: Will _anything_ be able to truly parse and understand perl?)

2004-11-26 Thread Randal L. Schwartz
is just an approximation. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl

Re: Lexing requires execution (was Re: Will _anything_ be able to truly parse and understand perl?)

2004-11-26 Thread Randal L. Schwartz
won't fix this. As long as we have dual-natured characters like /, and user-defined prototypes, Perl cannot be lexed without also parsing, and therefore without also running BEGIN blocks. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: Lexing requires execution (was Re: Will _anything_ be able to truly parse and understand perl?)

2004-11-26 Thread Randal L. Schwartz
tokeniser. No, not possible at all. The entire rest of the program may be valid either way. You *must* know by the time you're done with /, or /-and-more. The rest of the code cannot be a hint. Again, see my article. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: Compatibility with perl 5

2004-04-26 Thread Randal L. Schwartz
to be in Perl 6. Boy, when Larry says I get the colon, he really had plans for it. :-) Perl8 will look like: :: : : :: :: ::: :; (note the semicolon line terminator, to be replaced by a colon in Perl9). -- Randal L. Schwartz - Stonehenge Consulting Services

Re: backticks

2004-04-14 Thread Randal L. Schwartz
. This undermines the rest of your request. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open

Re: Control flow variables

2003-11-19 Thread Randal L. Schwartz
became incredibly unreadable quickly, so no-nesting for Perl was a deliberate choice, not an implementation detail. Unless Larry has come up with an overwhelming reason to permit them after years of not having them, I doubt we'd see that (IMHO mistake) in Perl6. -- Randal L. Schwartz - Stonehenge

Re: Control flow variables

2003-11-19 Thread Randal L. Schwartz
Randal == Randal L Schwartz [EMAIL PROTECTED] writes: Randal I actually consider that an annoying statement. I have to back up Randal three times to figure out what it means. And before someone whips out the Schwartzian Transform to undermine my statement... please note that in Perl6, you'll

Re: Funding the design team

2003-03-20 Thread Randal L. Schwartz
a major contributor to YAS. I don't see why we should start changing plans in midstream. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: Arrays vs. Lists

2003-02-11 Thread Randal L. Schwartz
pass by reference easier, before prototypes if I recall: myfunc \($a, @b, %c); which means the same as if we had said: sub myfunc (\$ \@ \%); myfunc($a, @b, %c); Except that the prototyped version mandates the specific types. -- Randal L. Schwartz - Stonehenge Consulting

Re: REs as generators

2002-12-11 Thread Randal L. Schwartz
should have a similar capability, using REs. Well, here's a cheap way: my @list = glob ('foo{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}'); :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

Re: Dynamic scoping (take 2)

2002-11-25 Thread Randal L. Schwartz
Simon == Simon Cozens [EMAIL PROTECTED] writes: Simon What were the good reasons for not allowing localized lexicals in Perl 5? Nobody could explain it in 50 words or less. What the hell is 'local my $foo = 35'? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: Perl 6, The Good Parts Version

2002-07-18 Thread Randal L. Schwartz
of concept after all... This is already a thread on perlmonks.org... see user ovid. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: Unary dot

2002-04-11 Thread Randal L. Schwartz
David == David Whipp [EMAIL PROTECTED] writes: David If every object has a Cclass method (Cref?), then you could David always call class-methods as class.m2(). Wouldn't that be .class.m2(), or did I miss something in the flurry? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: Unary dot

2002-04-07 Thread Randal L. Schwartz
could use the Smalltalk way by defining method myself in UNIVERSAL, which simply returns self. So .myself would always be yourself, which you could store if needed. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn

Re: RFC: new logical operator

2002-02-21 Thread Randal L. Schwartz
. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: What can be hyperoperated?

2002-01-27 Thread Randal L. Schwartz
Damian == Damian [EMAIL PROTECTED] writes: Damian @result = {block}^.(@data); But hyperdot sort hyperdot doesn't roll off the tongue as easy as map sort map! :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: What can be hyperoperated?

2002-01-26 Thread Randal L. Schwartz
Larry == Larry Wall [EMAIL PROTECTED] writes: Larry @result = for @a; @b - $a, $b { $a op $b } Larry (presuming we make Cfor actually act like Cmap). Why not just make map do that? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http

Re: Some Apocalypse 4 exception handling questions.

2002-01-23 Thread Randal L. Schwartz
of a similar subroutine in a superclass that you're completely overriding should even apply? So, does it make any sense at all to talk about inheriting PRE/POST as a separate act, other than the natural block start/end from calling super at the right time? -- Randal L. Schwartz - Stonehenge Consulting

Re: Apoc4 - A little wish

2002-01-19 Thread Randal L. Schwartz
that, and declined. Not sure of the reasons. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: Stupid Newbie Question

2001-11-19 Thread Randal L. Schwartz
instVarAt: and instVarAt:put:. Anybody can send them! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite

Re: Perl 6 - Cheerleaders?

2001-10-31 Thread Randal L. Schwartz
John == John Siracusa [EMAIL PROTECTED] writes: John (Can I pre-order the Perl 6 Camel or what? ;) Of course. You'll almost certainly visit the nodes before the subnodes in the documentation. :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL

Re: NaN semantics

2001-10-09 Thread Randal L. Schwartz
collapsed. :) No two NaNs are alike! Read it as one of many non-numbers, chosen at random. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See

Re: Are .key and .value right for Pairs?

2001-10-06 Thread Randal L. Schwartz
} with: my $this = c$1r; my $next = c$2r; return sub { { .$this().$next() } }; Damian } Damian } Right? Plus or minus a set of parens or something, eh? -- Randal L. Schwartz

Re: General Feelings on Apoc 3

2001-10-04 Thread Randal L. Schwartz
}}} Damian is much cleaner. Or even for my $x (1..98) { for my $y (1..(99-$x)) { for my $z (1..(100-$x-$y)) { print $x, $y, $z\n if $x ** 2 = $y ** 2 + $z ** 2; } } } Damian But it certainly does demonstrate TMTOWTDI. ;-) TMT2WTDI :-) -- Randal L. Schwartz - Stonehenge

Re: Larry's Apocalypse 1

2001-04-05 Thread Randal L. Schwartz
this: @foo[0] = STDIN; and then wonder where all the *rest* of your input went? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. S

Re: Schwartzian Transform

2001-03-22 Thread Randal L. Schwartz
on a roster some day: Schwartz,Ian :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Schwartzian Transform

2001-03-21 Thread Randal L. Schwartz
e me, if I recall). Although it is fun when we get to the "Schwartizian Transform Illustrated" page in my slideset... I get to say "don't wait for the swimsuit issue... it's not a very pretty sight". -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Randal L. Schwartz
ses swallow up Peter the following list. *some* functions. localtime doesn't. my is a unary function, prototyped vaguely as (\$) or (\@) or (\%). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security c

Re: Perl 5's non-greedy matching can be TOO greedy!

2000-12-15 Thread Randal L. Schwartz
"match anything, but keep the Deven match as short as possible". No, that's an incorrect description. No wonder you are confused. Deven Am I really the only one who views it this way? Must I stand Deven alone? Yes. Go stand in the corner. :) Deven If we lived in that ideal

Re: Perl 5's non-greedy matching can be TOO greedy!

2000-12-15 Thread Randal L. Schwartz
the semantics that were chosen doesn't Deven mean I don't understand them. You don't understand the motivation, apparently. That's what I'm referencing. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/

Re: Undermining the Perl Language

2000-10-01 Thread Randal L. Schwartz
ontrary for a moment... if this *is* a conspiracy desgined to lock you out, what point would complaining about it do? {grin} To be a contribution to the community, you must have some higher degree of trust than you are demonstrating. If you can't manage that on your own, seek assistance elsewhere. -- Randal L. S

Re: is \1 vs $1 a necessary distinction?

2000-09-27 Thread Randal L. Schwartz
takes you as far as \9 ;-) Wrong. If you have more than 10 parens visible so far, \10 works just fine. Jonathan If $1 could be made to work properly on the LHS of s///, I'd vote for Jonathan that being The Way. It can't ever. It means $1 from the previous match. -- Randal L. Schwartz -

Re: RFC 267 (v1) Eliminate dump() function

2000-09-21 Thread Randal L. Schwartz
ta::Dumper and then wonder why my program is core dumping. Doh! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: RFC 212 (v1) Make length(@array) work

2000-09-20 Thread Randal L. Schwartz
the length of "this is a string". Not 2. Not the length of "2". :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. S

Re: RFC 76 (v2) Builtin: reduce

2000-09-19 Thread Randal L. Schwartz
esn't take into account what happens when I give 3 elements to a 7-element-at-a-time reduction formula. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: RFC 212 (v1) Make length(@array) work

2000-09-13 Thread Randal L. Schwartz
therefore unoverridable). Do you have a proposal for how to handle that? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Ston

Re: RFC 212 (v1) Make length(@array) work

2000-09-13 Thread Randal L. Schwartz
e as length scalar X but rather, specialcased VERY SPECIFICALLY for length @FOO This is what I don't like about this proposal. It raises more eyebrows than it fixes. I like the suggestion that it be a warning, and leave it at that. -- Randal L. Schwartz - Stonehenge Cons

Re: more yield tricks ((was Re: Cmap in RFC 31

2000-09-13 Thread Randal L. Schwartz
on. (Which coderef gets the yield state attached to it, and would this properly be recognized as a reason to clone the coderef?) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting,

Re: $a in @b (RFC 199)

2000-09-12 Thread Randal L. Schwartz
of those. But I'll need further time to process your proposal to see the counterarguments now. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. et

Re: $a in @b

2000-09-11 Thread Randal L. Schwartz
aybe we do need a new keyword. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrol

Re: $a in @b

2000-09-10 Thread Randal L. Schwartz
s one "no" and abort after this one What would you have "last" do? And how would you distinguish "the other one"? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/

Re: RFC 187 (v1) Objects : Mandatory and enhanced second argument to Cbless

2000-09-02 Thread Randal L. Schwartz
"Perl6" == Perl6 RFC Librarian [EMAIL PROTECTED] writes: Perl6 This RFC proposes that the second argument to Cbless be made Perl6 mandatory, and that its semantics be enhanced slightly to cover a Perl6 common, ugly, and frequently buggy usage. Yes! -- Randal L. Schwartz -

Re: RFC 190 (v1) Objects : NEXT pseudoclass for method redispatch

2000-09-02 Thread Randal L. Schwartz
"Perl6" == Perl6 RFC Librarian [EMAIL PROTECTED] writes: Perl6 This RFC proposes a new pseudoclass named CNEXT. Perl6 This pseudoclass would provide a way of correctly redispatching a method Perl6 or an autoloaded method. Yes! -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: RFC 175 (v1) Add Clist keyword to force list context (like Cscalar)

2000-09-02 Thread Randal L. Schwartz
converting a scalar to a list (there's only twenty or so specific rules :), there's no consistent way to take this coerced "list in a scalar context" and wrangle it back to a scalar! "list" keyword. Just say no. -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: Ideas that need RFCs?

2000-08-23 Thread Randal L. Schwartz
y function in the middle of a pattern match, Joe and to back out the call if the match failed. Already done in 5.6. :) "perldoc perlre". -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security c

Re: ... as a term

2000-08-21 Thread Randal L. Schwartz
"Larry" == Larry Wall [EMAIL PROTECTED] writes: Larry Randal L. Schwartz writes: Larry : if ($a == $b) { ... } # should this be string or number comparison? Larry Actually, it's a syntax error, because of the ... there. :-) Larry But that reminds me of something I wanted a

Re: RFC 132 (v1) subroutines should be able to return an lvalue

2000-08-18 Thread Randal L. Schwartz
but would prevent the code I'm giving right here from running. So is that something we've agreed, that lvalue subs are *always* scalars? That'd mean we can move on to the various implementation details. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Randal L. Schwartz
what Larry intended here: array interpolation should work exactly like scalar interpolation -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, e

Re: RFC 92 (v1) Extensible Meta-Object Protocol -- Metho

2000-08-12 Thread Randal L. Schwartz
$ISA_SEARCH or something like that, to keep it in the same package. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: RFC 95 (v1) Object Classes

2000-08-12 Thread Randal L. Schwartz
uot; keyword in Perl. There's a convention that the C++ people use when coming into Perl to call the simplest constructor "new", but any name can be used for a constructor in Perl. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://w

Re: RFC 84 (v1) Replace = (stringifying comma) with =

2000-08-11 Thread Randal L. Schwartz
you could read? :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: the currying operator

2000-08-11 Thread Randal L. Schwartz
much stuff this would break, but I know I always backwhack my {'s regardless of where they are located in the regex, not counting on the DWIM to do it right. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: RFC 76 (v1) Builtin: reduce

2000-08-09 Thread Randal L. Schwartz
red. If I understand you correctly, I want to disagree with you. What if the "reduce" was to count the number of undefs? $count = reduce { $a + not defined $b } 0, @some_list; Do not discard undef from the source list. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: The Conway list

2000-08-04 Thread Randal L. Schwartz
"skud" == skud [EMAIL PROTECTED] writes: skud My $DEITY, someone sedate this man before he drowns us all in skud Perl RFCs! K. From the subject line, I thought it was another mailing list for me to send in a subscription request! -- Randal L. Schwartz - Stonehenge Consulting Ser

Re: perl 6 requirements

2000-08-02 Thread Randal L. Schwartz
quot; :) a sub can return only an rvalue. An "array" as an rvalue is always a list. Unless we disagree on the meaning of array and list. In that case, let's get back to terminology. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:ht

Re: RFC: Highlander Variables

2000-08-02 Thread Randal L. Schwartz
es sense. It also makes glob-ish things similar, although I understand this is a separate issue up for grabs. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting,

Re: perl 6 requirements

2000-08-02 Thread Randal L. Schwartz
t the two subs above correctly as returning a list and an array Graham then a user may get surprised. Yes, but the first part is getting the naming right. You don't "return an array". :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] UR

Re: perl 6 requirements

2000-08-02 Thread Randal L. Schwartz
"Steve" == Steve Fink [EMAIL PROTECTED] writes: Steve We could add a 'then' keyword. We have one. It's called "comma in a scalar context". :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.c

Re: perl 6 requirements

2000-08-01 Thread Randal L. Schwartz
ng special. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: perl 6 requirements

2000-08-01 Thread Randal L. Schwartz
e arguments for each of them. :) I think making that *not* a looping block makes more sense, so we don't get into this nonsense. The "last" cleanly breaks out of the innermost loopblock, which by definition doesn't have a return value, so there's no chance we'll freak out an assignment. -- R