Re: Does this mean we get Ruby/CLU-style iterators?

2002-01-19 Thread Michael G Schwern
} or is that what you ment by ignoring parser issues? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Death was thought to be fatal. -- Craig A. Berry in a05101002b8165afc6b62@[172.16.52.1]

Perl 6, now with 50% more NATO!

2002-01-19 Thread Michael G Schwern
in [EMAIL PROTECTED] which, of course, we'll have in Perl 6: loop { .search .DESTROY; } Larry Wall: puppet of the military-industrial complex? Next on The Conspiracy Zone. ;) -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance

Does this mean we get Ruby/CLU-style iterators?

2002-01-18 Thread Michael G Schwern
$caller = caller; File.foreach('/usr/dict/words') { print $caller eq caller ? ok : not ok } be ok or not ok? It has to be ok if mywhile is going to emulate a while loop. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance

Re: Ex4, Apo5, when ?

2002-01-18 Thread Michael G Schwern
lacking connectivity. I expect he'll give us word at some point what the schedule is. They've got connectivity all right. We've been getting plenty of drunken ramblings on IRC from folks on the cruise. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality

Re: Perl 6's Exporter

2001-12-24 Thread Michael G Schwern
::export_to_level(...); } -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Plus I remember being impressed with Ada because you could write an infinite loop without a faked up condition. The idea being

Re: Perl 6's Exporter

2001-12-22 Thread Michael G Schwern
on the above. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One This is my sig file. Is it not nify? Worship the sig file. http://www.sluggy.com find /usr/local/share/perl/ /usr/share

Re: Perl 6's Exporter

2001-12-22 Thread Michael G Schwern
. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Your words scratch the back of my eyes! http://sluggy.com/d/010204.html

Re: Stupid Newbie Question

2001-11-15 Thread Michael G Schwern
privacy. (yes, I know you can emulate class variables via package globals like $Class::blah, but I'm trying to look at it in a more uniform point of view so that you can fully treat Classes themselves as being objects) Class::Data::Inheritable anyone? :) -- Michael G. Schwern [EMAIL

Re: Stupid Newbie Question

2001-11-08 Thread Michael G Schwern
to tcl or python, cuz I can never find clear information about whether such an analog exists in those languages) is going away: AUTOLOAD. Going away? No way, it's SPREADING! We might wind up with AUTOGLOB, too. http://dev.perl.org/rfc/324.pod -- Michael G. Schwern [EMAIL PROTECTED]http

Re: Stupid Newbie Question

2001-11-08 Thread Michael G Schwern
On Thu, Nov 08, 2001 at 04:21:57PM -0800, John Rudd wrote: So, does this mean my other heart's desire of operator overloading might be coming forth? Yeah, that was mentioned in Apoc and Exewhatever 3. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality

Re: Indenting

2001-10-16 Thread Michael G Schwern
distinguish between the normal and in-place versions of functions without proliferating the number of keywords. chomp! $string;# how chomp() currently works my $chomped_string = chomp $string;# like your chomped() function -- Michael G. Schwern [EMAIL PROTECTED

Re: Indenting

2001-10-16 Thread Michael G Schwern
. Considering how infrequently the return value of chop() and chomp() is really used, and how easy it is to emulate the current chop() and chomp() behavior with substr() and s///, I don't think it'll be a big loss. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality

Re: Indenting

2001-10-16 Thread Michael G Schwern
On Tue, Oct 16, 2001 at 08:53:07PM -0500, David M. Lloyd wrote: What about 'chomp?' for query but 'chomp' (no decoration) for operation? Is chomp? just a bad example, or is there some utility in asking if a string has already been chomped? -- Michael G. Schwern [EMAIL PROTECTED]http

Re: Indenting

2001-10-16 Thread Michael G Schwern
on and act on this thing. # What would this look like if it were sorted? @sorted_list = sort @list; # Sort this list @list.sort -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Me

Re: Indenting

2001-10-15 Thread Michael G Schwern
is indented. Like having s/^\s{4}//gm. So you get the equivalent of: print Sometimes\n. form has to follow function\n. all over the page.\n; -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance

Re: Just a thought...

2001-10-09 Thread Michael G Schwern
@array; # Sort in place. sort! @array; -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One The eye opening delightful morning taste of expired cheese bits in sour milk!

Re: Hyper concat ^_ ?

2001-10-05 Thread Michael G Schwern
On Fri, Oct 05, 2001 at 09:50:53AM +0100, Richard Nuttall wrote: my @images = qw( pic1 pic2 pic3) ^_ ('.jpg'); my @images = map { $_ _ '.jpg' } qw(pic1 pic2 pic3); Hmmm, that's visually unappealing. Just thinking out loud. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: General Feelings on Apoc 3

2001-10-04 Thread Michael G Schwern
Apocalypse). Okay. That's a cop-out. He's basically saying that you can write Candthen and Corthen yourself as: snip I understand that much. What I don't quite get is the utility. There's some hand-waving in the RFC about making parsers easier. -- Michael G. Schwern [EMAIL PROTECTED

Re: General Feelings on Apoc 3

2001-10-04 Thread Michael G Schwern
language. Apparently the global keyboard steering committee has deprecated the vertical bar. You don't know how many times I've heard people complain that Perl isn't catering enough to the needs of IETF RFC authors. :-P I have a feeling that echoing the IETF is just a coincidence. -- Michael G

Re: Custom iterators

2001-10-02 Thread Michael G Schwern
On Wed, Oct 03, 2001 at 02:26:47AM +0200, Bart Lateur wrote: foreach_line { print } 'some/file'; You really like underscores, do you? If all you got out of that thread was Schwern likes underscores then I explained iterators really, really, really badly. -- Michael G. Schwern

Re: Math functions? (Particularly transcendental ones)

2001-09-09 Thread Michael G Schwern
compatibility--and I don't think because it's mathematically redundant is a valid reason to bust compatibility for a tiny little function like log(). -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One

Re: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Michael G Schwern
On Sat, Sep 08, 2001 at 12:00:24PM -0400, Dan Sugalski wrote: pow : Raise x to the y power You forgot biff, zap and womp! -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One

Re: Labels

2001-09-05 Thread Michael G Schwern
; GORK: if ( 1 ) { print Tin ; goto GORK if $b ^= 1; print \n; next GORK; } } -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I

Re: Source/Program metadata from within a program

2001-09-03 Thread Michael G Schwern
file you touch leaves one open to be seekable... Simple, just tie it so it only opens upon being used. OR, and I have no idea why I never thought of this before, instead of magic filehandles, just peek in %INC and open that file. -- Michael G. Schwern [EMAIL PROTECTED]http

Re: Multiple-dispatch on functions

2001-09-01 Thread Michael G Schwern
On Sat, Sep 01, 2001 at 01:10:58PM -0400, Dan Sugalski wrote: At 10:03 PM 8/30/2001 -0400, Michael G Schwern wrote: Thinking about what Zhang was saying about multiple-dispatch not being inherently OO. I think he's sort of right. Multiple-dispatch need not be confined to method lookups

Re: Multiple-dispatch on functions

2001-09-01 Thread Michael G Schwern
symbol table. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One That which stirs me, stirs everything. -- Squonk Opera, Spoon

Re: Source/Program metadata from within a program

2001-08-31 Thread Michael G Schwern
, not any of the modules it loads. use Some::Module; use Fcntl qw(:seek); seek Some::Module::DATA, 0, SEEK_SET; @their_code = Some::Module::DATA; which only works if Some::Module has an __END__ block... but that shouldn't be hard to fix. -- Michael G. Schwern [EMAIL PROTECTED

Re: Source/Program metadata from within a program

2001-08-31 Thread Michael G Schwern
On Fri, Aug 31, 2001 at 11:25:17AM +0100, Nicholas Clark wrote: Who said that my source file handle was seekable? The problem is, it appears DATA is only opened if there's an __END__ or __DATA__ tag. I don't remember it working this way... *shrug* We can fix that easy. :) -- Michael G

Re: CLOS multiple dispatch

2001-08-30 Thread Michael G Schwern
the existing Class::Multimethods module against normal method calls. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I'm spanking my yacht.

Multiple-dispatch on functions

2001-08-30 Thread Michael G Schwern
(Bar $bar) : multi { ... } sub foo (Baz $baz) : multi { ... } ...etc... Obviously, there would be no inheritance. Otherwise, it's just like multiple-dispatch where there's no superclass. Handy, if it's not too hard to implement. -- Michael G. Schwern [EMAIL

Re: Source/Program metadata from within a program

2001-08-30 Thread Michael G Schwern
for this? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I know you get this a lot, but what's an unholy fairy like you doing in a mosque like this?

Re: Source/Program metadata from within a program

2001-08-30 Thread Michael G Schwern
around saying Everything will be perfect when Perl 6 comes! -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Let's face it, said bearded Rusty Simmons, opening a can after the race. This is a good

Re: Expunge implicit @_ passing

2001-08-28 Thread Michael G Schwern
direction you get mind-bogglingly silly things like finalize which I just learned of today. I'm going to be giving a talk about just this sort of thing at JAOO to a room full of Java people. Should be interesting. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6

Re: Expunge implicit @_ passing

2001-08-28 Thread Michael G Schwern
On Tue, Aug 28, 2001 at 10:47:35AM -0700, Damien Neil wrote: On Tue, Aug 28, 2001 at 09:13:25AM -0400, Michael G Schwern wrote: As the pendulum swings in the other direction you get mind-bogglingly silly things like finalize which I just learned of today. What's so silly about finalize

Re: Expunge implicit @_ passing

2001-08-27 Thread Michael G Schwern
On Mon, Aug 27, 2001 at 10:58:00AM -0400, John Porter wrote: You can, with C goto $foo; . Problem is, it's *slower* (in p5 anyway) than the plain sub call. By only 10%. Let's keep things in proportion here. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6

Re: Expunge implicit @_ passing

2001-08-27 Thread Michael G Schwern
On Mon, Aug 27, 2001 at 06:50:35PM -0400, Ken Fox wrote: Michael G Schwern wrote: Any time you want to implicitly pass @_, you can just as easily *explicitly* pass it or use goto. I never thought of using goto actually. goto $method; actually looks clearer than the code I'm using

Re: Expunge implicit @_ passing

2001-08-27 Thread Michael G Schwern
On Mon, Aug 27, 2001 at 06:02:50PM -0500, Garrett Goebel wrote: From: Ken Fox [mailto:[EMAIL PROTECTED]] Michael G Schwern wrote: Any time you want to implicitly pass @_, you can just as easily *explicitly* pass it or use goto. goto does screw up caller... so I wouldn't say *anytime

Re: Changes in addressing of package variables?

2001-08-25 Thread Michael G Schwern
, 'Foo::bar'. So '$Foo::bar' would remain. Besides, Foo::$bar looks funny. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One conway: unit of mind expansion. One Conway == ~20 lines of Perl code

Expunge implicit @_ passing

2001-08-12 Thread Michael G Schwern
without copying before references were introduced, but that's not a problem anymore. foo(@_) or goto foo works just fine. I can't think of any reason why this feature is useful anymore, and it can be a really confusing behavior, so what say we kill it in Perl 6? -- Michael G. Schwern [EMAIL

Re: if then else otherwise ...

2001-07-30 Thread Michael G Schwern
if Cotherwise exists. PS -1 is true, just to make sure that's clear. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Hold on while I slip into something a little more naked.

Re: Feeding potatoes to dead horses

2001-07-13 Thread Michael G Schwern
On Thu, Jul 12, 2001 at 06:56:25PM -0700, Dave Storrs wrote: On Tue, 10 Jul 2001, Michael G Schwern wrote: You can always just do this: my Value $foo; And $foo will act like a normal scalar taking anything (your PMAW). If that's the goal, I'd vote that it be spelled

Re: precision belongs in bigfloats, nowhere else.

2001-07-13 Thread Michael G Schwern
which way the rounding goes) to reflect the inaccuracies involved. 63 cm +/- 0.5 cm. I have no idea if this is what Dan was thinking. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One If you got

Re: Feeding potatoes to dead horses

2001-07-10 Thread Michael G Schwern
just speculate, I'm going to go play with this idea for a while. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I was *meant* to mount your donuts.

Re: You can't make a hot fudge sundae with mashed potatoes instead of ice cream, either.

2001-07-09 Thread Michael G Schwern
in the parameter list (a la C++ function templates) - Provide a type hierarchy for all types (a la Haskell) I think a type hierarchy makes much more sense than unleashing the hell of templates on Perl. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance

Re: Implied types, first try. Or Its amazing what you can do with potatoes

2001-07-09 Thread Michael G Schwern
a type. We could have Perl go through heroics to try and find $foo's first assignment and imply a type from that, but I think that will rapidly get Messy and Surprising. my $foo;# PMAW PMAW? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: Implied types, first try. Or Its amazing what you can do with potatoes

2001-07-09 Thread Michael G Schwern
sometimes reap interesting ideas. :) -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One GuRuThuG make a channel called #Perl, and infest it with joking and fun it doesnt make alot

Re: You can't make a hot fudge sundae with mashed potatoes instead of ice cream, either.

2001-07-09 Thread Michael G Schwern
functions is you have to rewrite the function N times (where N == the number of different types you want to handle). Its certainly a possiblity, it just seems rather inelegant. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL

Re: Anyone actually experienced with object inheritance?

2001-07-06 Thread Michael G Schwern
it will be very optional in Perl 6) what problem is this solving? And how would this solve the Mail problem put forth by Ziggy? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I'm not actually Kevin

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-06 Thread Michael G Schwern
On Fri, Jul 06, 2001 at 12:41:42PM -0500, David L. Nicol wrote: But would the game be worth the candle? IMHO not really. Of all the potential quirks Perl's OO has, this is one of the least quirky and least violated. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: Anyone actually experienced with object inheritance?

2001-07-03 Thread Michael G Schwern
On Tue, Jul 03, 2001 at 12:10:19AM +0200, Bart Schuller wrote: The Apple Newton was programmed in NewtonScript, a prototype-based language. http://www.cc.gatech.edu/~schoedl/projects/NewtonScript/ seems like a nice overview. Ahh, its derived from Self. -- Michael G. Schwern [EMAIL

Good example of object inheritance's usefulness

2001-07-03 Thread Michael G Schwern
Ziggy came up with a good example of when object inheritance makes life easier. Basically, there are times when you'd want to override individual methods of individual objects. Example below. - Forwarded message from Michael G Schwern [EMAIL PROTECTED] - From: Michael G Schwern

Re: Anyone actually experienced with object inheritance?

2001-07-02 Thread Michael G Schwern
what I can do. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One my anus yearns now warm paste fills me happily saturday morning -- imploded

Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-02 Thread Michael G Schwern
On Mon, Jul 02, 2001 at 04:18:31PM -0400, Michael G Schwern wrote: On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote: Its not quite the same thing, but Java does have the concept of anonymous classes (it names them 'inner' classes): Is Perl6 going to have a similar concept? Okay

Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-02 Thread Michael G Schwern
On Mon, Jul 02, 2001 at 05:04:23PM -0400, John Porter wrote: Michael G Schwern wrote: Are they really necessary? You can get the same effect so many other ways in Perl already, That is a very unhelpful attitude. We've already got everything and the kitchen sink proposed for Perl 6

Re: Anyone actually experienced with object inheritance?

2001-07-02 Thread Michael G Schwern
On Mon, Jul 02, 2001 at 05:09:58PM -0400, John Porter wrote: Perhaps this could be done by allowing to attach a name to q lexical scope; perhaps this could be conflated with normal labels. my package Foo { sub bar { ... } } perhaps? -- Michael G. Schwern

Re: Per-object inheritance in core a red herring?

2001-06-29 Thread Michael G Schwern
LOOK AT CLASS::OBJECT?! They're NO SLOWER than normal objects, it uses all the normal OO channels, it was very simple and small to implement and it WORKS! Now, right this second, with perl 5. I'll post the URL yet again... http://www.pobox.com/~schwern/src/Class-Object-0.01.tar.gz -- Michael G

Class::Object (was Re: Multiple classifications of an object)

2001-06-28 Thread Michael G Schwern
-isa('Class::Object'); # $obj-new clones itself, so $same_obj-foo comes out as $obj-foo my $same_obj = $obj-new; print $same_obj-foo; That's basically what you want, right? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL

Re: Class::Object (was Re: Multiple classifications of an object)

2001-06-28 Thread Michael G Schwern
Oh yeah. Look at Class::Classless. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Maybe they hooked you up with one of those ass-making magazines. -- brian d. foy as misheard

Per-object inheritance in core a red herring?

2001-06-28 Thread Michael G Schwern
we don't have to wait two years for Perl 6 to be able to use it! PPS A Class::Object proof-of-concept is en route to CPAN. http://www.pobox.com/~schwern/src/Class-Object-0.01.tar.gz if its not there yet. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality

Re: Multiple classifications of an object

2001-06-27 Thread Michael G Schwern
a superimposed scalar. ;) Not something you want to have to do by choice. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Our business in life is not to succeed but to continue to fail in high spirits

Re: Multiple classifications of an object

2001-06-27 Thread Michael G Schwern
(Employee $sex); } but delegation is probably the way to go. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One purl Hey, Schwern! THERE IS A HUGE GAZORGANSPLATTEDFARTMONGERING

Re: Multiple classifications of an object

2001-06-27 Thread Michael G Schwern
(@args). Ahh, the magic of closures. Wasn't Damian working on something like this? I looked at his delegation stuff in perl5+i, but it didn't seem to have anything to do with this sort of delegation. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: Embrace polymorphic builtins, for they are cool.

2001-06-20 Thread Michael G Schwern
of them, probably because they mesh so well we don't even think about it. You could consider functions which have default arguments as polymorphic, then there's lots and lots of polymorphism in Perl. But I digress. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: Properties and stricture

2001-06-07 Thread Michael G Schwern
. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One My feet hurt... with destiny! http://sluggy.com/d/010204.html

Re: Properties and stricture

2001-06-07 Thread Michael G Schwern
On Wed, Jun 06, 2001 at 10:28:41AM -0400, John Porter wrote: Michael G Schwern wrote: It will have to go for strict classes. @ISA will have to be locked. strict classes? strongly typed class? Can a man make up gibberish in peace? ;) Basically, any class which wants to be type-checked

Re: Properties and stricture

2001-06-07 Thread Michael G Schwern
On Wed, Jun 06, 2001 at 07:06:49PM -0700, Dave Storrs wrote: But if we did, how could we hope to get a good new Star Trek series? : You're still hoping for a new, good Star Trek series??? You must be a Cubs fan. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: $foo.Foun (was Re: Properties and stricture)

2001-06-07 Thread Michael G Schwern
On Wed, Jun 06, 2001 at 01:37:23AM -0500, Me wrote: BD languages What's BD? Bondage and Discipline, scum! You're not a good enough programmer to be trusted not to make mistakes! Now drop and give me fifty! -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: 1 until defined(getvalue()); return $^d;

2001-06-07 Thread Michael G Schwern
; but TMTOWTDI. I am a bit worried about having to do so much pointer copying to support this feature. PS 'it' could take many forms -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Monkey tennis

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
(not hash deref) at -e line 1, at EOF Execution of -e aborted due to compilation errors. Prototypes don't work on methods. And I wouldn't hold them up as being anything but a mediocre hack. Its not really type checking. Of course, there's Attribute::Types for things like that. -- Michael G

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
-checking. Doesn't do squat for basic logic errors, for example. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Death follows me like a wee followey thing. -- Quakeman

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
its namespace to the outside world on request. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Death follows me like a wee followey thing. -- Quakeman

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
On Tue, Jun 05, 2001 at 12:46:52PM -0400, John Porter wrote: Michael G Schwern wrote: Prototypes don't work on methods. And I wouldn't hold them up as being anything but a mediocre hack. Its not really type checking. It's not just prototypes. % perl -e '$r=\%h; print @$r

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
much of a problem, Perl doesn't really need it and it causes all sorts of complications (as noted in the other threads). Wouldn't hurt to have one, though. I have a feeling we're arguing somewhat different things here. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
, but the changes cannot come from outside its package. What about lexicals? Lexicals already have their own privacy rules. How about: package_name.finalize(); finalize package_name; This is a different concept. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
On Tue, Jun 05, 2001 at 01:05:45PM -0700, Daniel S. Wilkerson wrote: 2 - You can't make a user defined type, like classes in Java, that are compile time checked. Well, you can sort of: Attribute::Types. But that's not what John is talking about. -- Michael G. Schwern [EMAIL PROTECTED

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
://www.pobox.com/~schwern/papers/Closures_and_Accessors/Closures_and_Automated_Accessors.txt -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I'm not actually Kevin Lenzo, but I play him on TV.

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
where I'd like to have type-checking, but most of the time I see it as unnecessary work. Then again, my notion of typing comes from C++, a language devoted to unnecessary work. I suppose, this is exactly why it will be optional. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
. Yeah, but that's yicky and limiting and involves temp files and you have to know everything you want to generate before you run the program. Anyhow, I think we can save the technique even with strict-types. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality

DANGER! ADVOCACY! (was Re: Properties and stricture)

2001-06-05 Thread Michael G Schwern
? Take it or leave it. Strong types? Ummm, sorry. But I think we've strayed into the topic of advocacy. Interesting advocacy, nevertheless. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One I am

Re: Properties and stricture

2001-06-05 Thread Michael G Schwern
) This should be fairly simple to implement (I'll leave that as an exercise for the reader), and could probably be used as a starting point for CPANTS. --- End forwared message (That was a joke, BTW) -- Michael G. Schwern [EMAIL PROTECTED

Re: $foo.Foun (was Re: Properties and stricture)

2001-06-05 Thread Michael G Schwern
argument coming from the thread next door? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Stupid am I? Stupid like a fox!

Re: 1 until defined(getvalue()); return it;

2001-05-30 Thread Michael G Schwern
of what this wins? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Death follows me like a wee followey thing. -- Quakeman

Re: 1 until defined(getvalue()); return it;

2001-05-30 Thread Michael G Schwern
a few characters. Take a typing class. ;) Maybe it makes one-liners flow better? PS I'm trying REALLY hard to not say AGGGH! KILL IT NOW BEFORE IT GETS LOOSE! -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED

Re: 1 until defined(getvalue()); return it;

2001-05-30 Thread Michael G Schwern
at the top of the block and reading down to find what $foo is (trivially solvable by reading backwards...) This is better solved by using smaller scopes/subroutines and meaningful variable names. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance

Re: 'is' and action at a distance

2001-05-20 Thread Michael G Schwern
On Sat, May 19, 2001 at 11:26:36AM +1000, Damian Conway wrote: Not. The run-time property is set on the *value* in $Foo, not on the variable itself. Change the value, change the properties. Ok, that makes me happy. :) -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com

Re: 'is' and action at a distance

2001-05-18 Thread Michael G Schwern
, even after I've assigned a false value to it, then yes, that does count as action-at-a-distance and is probably a Bad Thing. However, if assigning to $Foo clears the eariler assertion of truth, then there's no problem. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern

Re: Exegesis2 and the is keyword

2001-05-15 Thread Michael G Schwern
from the keyboard with your hands up! ;) -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One purl Hey Schwern! honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk

Re: what I meant about hungarian notation

2001-05-14 Thread Michael G Schwern
a night at the pub) -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Maybe they hooked you up with one of those ass-making magazines. -- brian d. foy as misheard by Michael G Schwern

Re: Perl, the new generation

2001-05-11 Thread Michael G Schwern
. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One Your average appeasement engineer is about as clued-up on computers as the average computer hacker is about B.O. -- BOFH

Re: A proposal for more powerful text processing to be built in to Perl: Flex and Pushdown Expressions.

2001-05-11 Thread Michael G Schwern
you've chosen, but the idea sounds useful. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One GuRuThuG make a channel called #Perl, and infest it with joking and fun it doesnt make alot

Re: Perl5 Compatibility, take 2 (Re: Perl, the new generation)

2001-05-11 Thread Michael G Schwern
and the flexibility of its parsing are known. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One List context isn't dangerous. Misquoting Gibson is dangerous. -- Ziggy

Re: Perl5 Compatibility, take 2 (Re: Perl, the new generation)

2001-05-11 Thread Michael G Schwern
compatibility is and where we need improvement. Also, I'll see if I can get the JART off the ground. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One If you have to shoot, shoot! Don't talk

Re: what I meant about hungarian notation

2001-05-09 Thread Michael G Schwern
to ${var}) could be dragged in, but it seems like you're just trading one bit of inconsistency for another. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One If you have to shoot, shoot! Don't talk

Re: Tying Overloading

2001-05-09 Thread Michael G Schwern
delegation. There's an RFC dealing with this... http://dev.perl.org/rfc/193.pod and a Perl5 module planned, Class::Delegation. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One An official I want

Re: Apoc2 - STDIN concerns

2001-05-08 Thread Michael G Schwern
. Owner desperat. Reward.' A telephone number was given for people to ring. The landlord of the local pub was not very pleased. It was his number that had been given and over 70 people rang him, claiming to have seen his non-existent camel. -- Michael G. Schwern [EMAIL PROTECTED]http

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

2001-05-06 Thread Michael G Schwern
but if you're brave enough (or dumb enough) to take a bite it tastes wonderful. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One BOFH excuse #229: wrong polarity of neutron flow

Re: Apo2: \Q ambiguity

2001-05-06 Thread Michael G Schwern
it right and had to switch from my normal Clean font in emacs because it doesn't support high ascii to Neep. Stupid American Computers aren't quite ready for the Unicode invasion. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL

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

2001-05-04 Thread Michael G Schwern
) is that just too fitting? -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One That which stirs me, stirs everything. -- Squonk Opera, Spoon

Re: sandboxing

2001-05-04 Thread Michael G Schwern
and the AncientOS's? IMHO that should be the indicator of whether Perl needs to provide a particular sandbox feature. If we leave it up to the OS, how many OS's leave no way (or very difficult ways) to do it. And how radically different are the ones which provide it? -- Michael G. Schwern [EMAIL PROTECTED

Re: sandboxing

2001-05-04 Thread Michael G Schwern
and sockets and limiting network usage could be done inside perl. -- Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/ Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One And Solaris must be destroyed. -- Peter Miller

<    1   2   3   4   >