Re: Properties and stricture and capabilities

2001-06-08 Thread schwern
On Thu, Jun 07, 2001 at 08:24:33PM -0500, David L. Nicol wrote: > > Symbol table manipulation will work as long as your mucking about > > doesn't alter the strict class's signature. ie. you can shove a code > > ref onto the symbol table as long as a stub for that method was > > defined at compile

it is perl5 but...

2001-06-08 Thread David L. Nicol
~/perl/perl-5.7.1$ ./perl -le '%a=(1..10); print it; exists $a{1} and print it' 2 -- David Nicol 816.235.1187 The toad doesn't know it has ten toes.

Re: hash and array variables vs. references

2001-06-08 Thread Bart Lateur
On Fri, 8 Jun 2001 14:05:44 -0400, Mark J. Reed wrote: >My question/suggestion: why not get rid of @arrays and %hashes as >separate variable types? Have all variables be scalar - with, >of course, the ability to hold a reference to an anonymous array >or hash. Keep the funny characters around,

Re: hash and array variables vs. references

2001-06-08 Thread John Porter
> > I have done a quick scan of the archives for a > > discussion on this topic and didn't see it; if I > > just missed it, I'd appreciate it if someone > > could send me a link to the thread or > > applicable RFC[s]. Futhermore, this is still a topic of active discussion, so just stay tuned. --

suggested properties of operator results

2001-06-08 Thread Chris Hostetter
Currently, this expression: VALUE1 < VALUE2 is functionally equivalent to this: $v2 = VALUE2; $v1 = VALUE1; return ($v2-$v1 == abs($v2-$v1)); After reading the Apocalypse & Exegesis articles, and seeing some examples of properties and the "is" operator, I'd lik

Re: hash and array variables vs. references

2001-06-08 Thread Me
> I have done a quick scan of the archives for a > discussion on this topic and didn't see it; if I > just missed it, I'd appreciate it if someone > could send me a link to the thread or > applicable RFC[s]. I suspect you didn't use the all search, right? Just in case: http://www.mail-archiv

hash and array variables vs. references

2001-06-08 Thread Mark J. Reed
I'm sure this has been brought up before, but I'm a latecomer who didn't see anything on the Perl6 design until the first Apocalypse. I apologize for the redundancy. I have done a quick scan of the archives for a discussion on this topic and didn't see it; if I just missed it, I'd appreciate it i