On Sat, Mar 28, 2015 at 2:53 PM, Moritz Lenz mor...@faui2k3.org wrote:
On 28.03.2015 12:27, Tom Browder wrote:
I like the subroutine arg handling in Perl 6. Is there any simple
way to attach a short error msg in place of or additive to the
default for, say, a missing arg?
You can always
On Mar 28, 2015 6:23 AM, Paul Cochrane p...@liekut.de wrote:
BTW: please don't use the shortcut 'v6;': AFAIU it's been deprecated in
favour of 'use v6;'
Hope this helps a bit.
It does, thanks!
BTW, I think my fumbling in learning Perl 6 is giving me some ideas for the
Coookbook, at least for
Hi Tom,
use Bar :DEFAULT;
but this does not:
use Bar foo;
So is S11 in error!!
That might not necessarily be the case (however S11 certainly isn't clear
about exactly how to import selected routines while `use`-ing a module).
All subs/methods that are marked with `is export` are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On 28.03.2015 12:27, Tom Browder wrote:
I like the subroutine arg handling in Perl 6. Is there any simple
way to attach a short error msg in place of or additive to the
default for, say, a missing arg?
You can always use multi subs, and
I like the subroutine arg handling in Perl 6. Is there any simple way to
attach a short error msg in place of or additive to the default for, say, a
missing arg?
Thanks.
Best,
-Tom