From: "Berger, Daniel" Date: 2006-05-01T22:52:21+09:00 Subject: Shortcut for [string].pack("p*").unpack("l").first ? Hi all, If I want to get the underlying pointer address of a Ruby string, I can do this: string = "hello" [string].pack("p*").unpack("l").first # 43329024 I thought there was a shortcut for this. Originally I thought perhaps object_id was identical, but that doesn't seem to be the case. Maybe that was immediate types only. Anyway, is there a shorter way? Or am I remembering incorrectly? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.