From: Piers Cawley Date: 2001-08-08T16:30:30+09:00 Subject: [ruby-talk:19358] Re: Perl/Python/Ruby common backend (Parrot, can Ruby play too?) Mathieu Bouchard writes: > Ruby has this thing called "mixins" that afaik is not in Python (unless > it's quite recent) and is not in Perl. You can 'sort of' do mixins with perl BEGIN { do "Module.pm" || die "Couldn't load module"; } just make sure that 'Module.pm' doesn't have a package declaration. As you can no doubt see from its cumbersome syntax, mixins are not generally used within perl. -- Piers Cawley www.iterative-software.com