I know that these new constructs are meant to make it easier to write software but will they
create new ways to subvert ones code?
Of course! This is Perl, after all! ;-)
Seriously though, our aim is not just to make it easier to write software, but to make it easier to write reliable, robust, maintainable software. Declarative classes; a strong encapsulation mechanism; OO exceptions and clean handlers;
standardized control structures (e.g. no more "which of the 24 ways of implementing a switch statement shall I use today?")
But it is the nature of the universe that conferring new powers also confers new risks. I'm sure that Perl 6 will provide plenty of additional scope for ob-fu and for other dirty code tricks.
Code subversion isn't a feature of the language; it's a feature of the programmer.
|