{
local local local local $a;
}
Requires parser capable to evaluate lookup predicate, such as GLR parser. With additional complexity on declaration side it may solvable by error handling magic but I didn't solve this puzzle so far.
Example: multiple grammar variants in one definition file:
allowed_indirect_method:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use feature 'cleanup_block'; | |
no warnings 'experimental::cleanup_block'; | |
use lib 't'; | |
require 'test.pl'; | |
sub it { | |
my ($title, %params) = @_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# perlbrew-ci.pl prove [prove options] | |
# - runs install command | |
# - runs prove for each perl library | |
# | |
# perlbrew-ci.pl install | |
# - install all perls specified in your .travis.yml | |
# - create project library (".travis.yml"->parent->basename) for each perl | |
# - install project dependencies |