-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28.03.2015 11:05, Tom Browder wrote:
> On Sat, Mar 28, 2015 at 5:01 AM, Tom Browder
> <tom.brow...@gmail.com> wrote:
>> On Fri, Mar 27, 2015 at 8:27 PM, Nathan Brown
>> <nbrow...@gmail.com> wrote:
> 
> Okay, this works:
> 
> use Bar :DEFAULT;
> 
> but this does not:
> 
> use Bar <foo>;
> 
> So is S11 in error!!

It is, but not for the reasons you think.

The examples in S11 are wrong, because 'sub common' must be imported
as 'use Sense <&common>;'.

We can get away with leaving out the sigil on subroutine calls,
because the parens of the subroutine call disambiguate subs from
constants, types and other sigilless terms, but I'm pretty sure we
can't get away with this imprecision.

And if I remember correctly, that error in S11 confused me enough not
to implement 'use Module <list>' correctly when I last meddled with
these things.

Cheers,
Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlUWsPkACgkQT81LMIj/VkQm1wCdFvFkU/PQfEqlKqx/AQC4C3ql
yFEAnRkc81DvlWd5veoehXAHw8m0iMnQ
=AsJT
-----END PGP SIGNATURE-----

Reply via email to