> -----Original Message-----
> From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 01, 2002 1:12 PM
> To: 'Dan Sugalski'; [EMAIL PROTECTED]
> Subject: RE: Using stringified address
>
>
>
>
> > -----Original Message-----
> > From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 01, 2002 9:59 AM
> > To: Sterin, Ilya; [EMAIL PROTECTED]
> > Subject: RE: Using stringified address
> >
> >
> > At 11:09 AM 1/1/2002 -0800, Sterin, Ilya wrote:
> > >Ok, I understand that this hasn't been implemented due to
> > the believe
> > >that it's a dangerous feature (Programming Perl). But would
> > it be ok
> > >to enable/disable it with a specific pragma?
> >
> > Might happen. Larry's talked about it on and off, and if you
> > have a special
> > scalar type that's fine. Can't bang the hardware without
> > something like
> > this, and you can already sort of do it with pack and
> unpack. Sort of.
>
> It would be very useful (I'm being selfish here maybe).
> Might even be sort of like pointer arithmetic (in disguise),
> though it would be used for that right:-?
^^^^^
Sorry, I meant "it wouldn't". Darn, can't they beat some M$
intelligence into Outlook.
>
> >
> > We may have a Pointer class in parrot when we ship. Or we
> > might not. (Care
> > to write one? :)
>
> Besides allowing to work with constant addresses, would it
> also allow pointer arithmetic, or am I going to far with
> this? I can take a shot, though wouldn't be for another week
> or two. I'll contact you if I need more info on how far do
> we want the functionality to expand.
>
> Ilya
>
> >
> > > > -----Original Message-----
> > > > From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, January 01, 2002 4:00 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Using stringified address
> > > >
> > > >
> > > > Not sure if this has already been discussed, but I though
> > this would
> > > > be a cool option, especially since I've ran into a few
> > cases where
> > > > this would have been very usefull.
> > > >
> > > > Using a scalar (string) with an address to another
> > variable and be
> > > > able to dereference it. This proves very usefull when pasing
> > > > dynamic strings with addresses embeded in them. I
> don't believe
> > > > this is available in current perl versions without
> writing XS. Or
> > > > should this just be left for a module to handle. I
> thought this
> > > > would be general enough to include in the CORE.
> > > >
> > > > Ilya
> > > >
> >
> >
> > Dan
> >
> > --------------------------------------"it's like
> > this"-------------------
> > Dan Sugalski even samurai
> > [EMAIL PROTECTED] have teddy bears and even
> > teddy bears get drunk
> >
>