Uri Guttman:


and i bet you really don't need this but you just think you do.

why not?
I did have used object clone, like a ruby one:

> class Myclass
> end
=> nil

> x=Myclass.new
=> #<Myclass:0xb7c4bca8>

> y=x.clone
=> #<Myclass:0xb7c47194>

> x.object_id
=> -605921708

> y.object_id
=> -605931318


The object was cloned, they both got different object IDs.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to