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. We may have a Pointer class in parrot when we ship. Or we might not. (Care to write one? :) > > -----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