summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-01 14:16:21 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-01 20:38:18 -0700
commitb5a648148c71e82a615a5ed312204978f88e1def (patch)
tree74c539a5878b9b141394a6de59cfe1fe006b4218 /os2
parenta444d2d4f3777a58d916c57753c99c6bed6a1e5d (diff)
downloadperl-b5a648148c71e82a615a5ed312204978f88e1def.tar.gz
[perl #114020, #90018, #53186] Make given alias $_
This commit makes given() alias $_ to the argument, using a slot in the lexical pad if a lexical $_ is in scope, or $'_ otherwise. This makes it work very similarly to foreach, and eliminates the problem of List::Util functions not working inside given().
Diffstat (limited to 'os2')
0 files changed, 0 insertions, 0 deletions