note
jplindstrom
Language support for:
<ul>
<li>A non-destructive s/// operator which returns the new string.
<li>subs/methods with proper parameter lists (the usual stuff: names, Perl types, default values, basic type annotations)
<li>Calling subs/methods with either positional or named arguments.
<li>Declared methods, like "sub" but with implicitly declared $self.
<li>Declared class methods, like "sub" but with implicitly declared $class.
<li>Autoboxing which treats e.g. hashes and hashrefs in a similar way. This may remove the need to fix the ugly dereferencing syntax mess.
</ul>
Many of these things seem fairly compatible with Perl 5. Some may just need a bit more support in core perl to be solid and/or fast enough to be usable.
<p>
/J
687060
687060