in reply to VB-ish behaviour byVar or byRef of objects in Perl

Since an "object" in Perl 5 is a blessed reference, you get the same behaviour.

You can deep clone an object with Storable::dclone.

  • Comment on Re: VB-ish behaviour byVar or byRef of objects in Perl