Python , PowerShell , Ruby and Groovy are dynamic languages built on OOP principles .
Perl and PHP have been adding object - oriented features since Perl 5 and PHP 4 .
Python , PowerShell , Ruby and Groovy are dynamic languages built on OOP principles , while Perl and PHP have been adding object - oriented features since Perl 5 and PHP 4 .