Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make B::Deparse qualify sub calls named after keywords
While B::Deparse was correctly applying CORE:: as necessary to dis- ambiguate between keywords and custom subroutines, it was not doing likewise for subroutines whose names were keywords. main::foo() should be deparsed as main::foo() if ‘foo’ is a keyword.
- Loading branch information
Father Chrysostomos
committed
Oct 5, 2014
1 parent
4c62787
commit a958cfb
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
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
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
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