
dhoskin
New User
Nov 14, 2009, 2:17 PM
Post #1 of 3
(1451 views)
|
|
Private Properties for Objects
|
Can't Post
|
|
I want to make private properties for objects using the following code. sub SetProperty1 { my ($self,$value)=@_; $self =~ m/(0x(\w|\d){6}(\w|\d))/; $property1{$1}=$value; } My question is...will the hex value for an object reference ever change. (i.e. during garbage collection)
|