KEEP/UNDO phaser question

2018-10-27 Thread Norman Gaywood
Just been reading the latest of Elizabeth's wonderful blog posts on how phasers work in perl6: https://opensource.com/article/18/10/how-phasers-work-perl-6?fbclid=IwAR3eJSn5EdJh2DYgpjrFOy7kg-dShuilwQhHDHTANeb4JmHYSBiTz3WyxPA I have question on the KEEP/UNDO example: { KEEP $dbh.commit; UN

[perl #132214] [LHF] `need` with version silently fails

2018-10-27 Thread Zoffix Znet via RT
On Tue, 03 Oct 2017 08:34:39 -0700, c...@zoffix.com wrote: > If you `use` a v6.d, it causes language switch and will also complain > if the version is too high. > The same doesn't happen with `need`. It should probably fail in these > cases, and `` should > be just removed from the grammar[^1]. >

[perl #132214] [LHF] `need` with version silently fails

2018-10-27 Thread Zoffix Znet via RT
On Tue, 03 Oct 2017 08:34:39 -0700, c...@zoffix.com wrote: > If you `use` a v6.d, it causes language switch and will also complain > if the version is too high. > The same doesn't happen with `need`. It should probably fail in these > cases, and `` should > be just removed from the grammar[^1]. >