Yes, via threads. The technique you are attempting is called inside-out objects. They are not commonly used because of this. If you want to do objects in Perl, consider installing Moose. You may also want the Moose eXtensions at MooseX.