diff options
author | Zefram <zefram@fysh.org> | 2017-11-21 13:17:03 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-11-21 13:23:28 +0000 |
commit | 76ed45178844dff782880573017d9b7c9fbc0007 (patch) | |
tree | 298e28326d4df828a132e5c9680827236dc44c40 /MANIFEST | |
parent | a252c8fe5fbed43d9b362ed97d57a5a7764fac62 (diff) | |
download | perl-76ed45178844dff782880573017d9b7c9fbc0007.tar.gz |
regularise "given"
Change "given" from implicitly enreferencing array and hash topics to just
giving the topic scalar context. It's difficult to say whether this is a
change of the intended behaviour or merely a bugfix, because the implicit
enreferencement was not documented, and there were no tests exercising it.
The documentation merely said that the argument is in scalar context,
which correctly describes the new behaviour. Add a documentation note
about the old behaviour, alongside the existing notes about historical
given/when behaviour. Incidentally fix doc that referred to assiging
to $_, to instead refer to aliasing. Add tests for "given".
Diffstat (limited to 'MANIFEST')
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5664,6 +5664,7 @@ t/op/fork.t See if fork works t/op/fresh_perl_utf8.t UTF8 tests for pads and gvs t/op/getpid.t See if $$ and getppid work with threads t/op/getppid.t See if getppid works +t/op/given.t See if given works t/op/glob.t See if <*> works t/op/gmagic.t See if GMAGIC works t/op/goto.t See if goto works |