Re: nice2haveit

2001-07-13 Thread raptor
> Yes but can't the same be accomplished with... > > my $myhash = (%{$Request->{Params}}); > print $myhash{abc}; > > Though again it copies the structure, I don't see how dereferencing can be > unclear? ]- if u have someting like this anything u can remove in some way is worth it:)) $tables{

RE: nice2haveit

2001-07-13 Thread Sterin, Ilya
Yes but can't the same be accomplished with... my $myhash = (%{$Request->{Params}}); print $myhash{abc}; Though again it copies the structure, I don't see how dereferencing can be unclear? Ilya -Original Message- From: raptor To: [EMAIL PROTECTED]; Sterin, Ilya Sent: 7/13/01 12:24 PM S

Re: nice2haveit

2001-07-13 Thread Dan Sugalski
At 09:24 PM 7/13/2001 +0300, raptor wrote: >in the case of : > >local *myhash = \%{$Request->{Params}}; >u do this : > >print $myhash{abc}; > >so it is first clearer and second I hope much faster Clearer maybe, faster probably not appreciably. Regardless, the lexical 'symbol table' will be

Re: nice2haveit

2001-07-13 Thread raptor
the structure is something like this : $Request = { Params => { abc => 1, ddd => 2 } } the idea is that U don't dereference i.e. : my $myhash = ($Request->{Params}); if u want to use it U have to do this : print $$myhash{abc}; #or if u preffer print $myhash

Re: precision belongs in bigfloats, nowhere else.

2001-07-13 Thread Dan Sugalski
At 03:26 PM 7/13/2001 -0400, Michael G Schwern wrote: >On Thu, Jul 12, 2001 at 06:09:07PM -0400, Dan Sugalski wrote: > > Depending on what you do with them, precision (or, rather, > > significant digits) is a useful concept for integers as well. Just > > because you have, for example, an integer w

Re: precision belongs in bigfloats, nowhere else.

2001-07-13 Thread Michael G Schwern
On Thu, Jul 12, 2001 at 06:09:07PM -0400, Dan Sugalski wrote: > Depending on what you do with them, precision (or, rather, > significant digits) is a useful concept for integers as well. Just > because you have, for example, an integer with 43 digits doesn't > mean that all 43 are actually useful

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

RE: nice2haveit

2001-07-13 Thread Sterin, Ilya
-Original Message- From: raptor To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 7/13/01 10:19 AM Subject: Re: nice2haveit >> Two things i think is good to have it : >> >> 1. ALIAS keyword. >> - first reason is 'cause many people don't know that this is possible.. at >

Re: nice2haveit

2001-07-13 Thread raptor
>> Two things i think is good to have it : >> >> 1. ALIAS keyword. >> - first reason is 'cause many people don't know that this is possible.. at >> least any newscommer and it will help not to forgot that it exist :"). >> - Code become more readable. >> - can be Over

Special variables

2001-07-13 Thread Mark J. Reed
May I infer from the fact that typeglobs are going away that we will no longer be able to use in our code such lovely global variables as @31415, %42, the filehandle */, etc? I assume that the availability of such was merely an unintended side-effect of the special like-named scalars and the conf

Re: nice2haveit

2001-07-13 Thread Damian Conway
> Two things i think is good to have it : > > 1. ALIAS keyword. > - first reason is 'cause many people don't know that this is possible.. at > least any newscommer and it will help not to forgot that it exist :"). > - Code become more readable. > - can be Overloaded >

nice2haveit

2001-07-13 Thread raptor
hi, Two things i think is good to have it : 1. ALIAS keyword. - first reason is 'cause many people don't know that this is possible.. at least any newscommer and it will help not to forgot that it exist :"). - Code become more readable. - can be Overloaded - the syntax for aliasing can becom