This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
do-file should not force a bareword
authorFather Chrysostomos <sprout@cpan.org>
Tue, 3 Jul 2012 01:11:23 +0000 (18:11 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 6 Jul 2012 01:14:03 +0000 (18:14 -0700)
commitc2900bb8185ddf2411dcf67573ec1c2e991d6dba
treeda9991bc10617e498f034b397395d5a1f8e6598a
parented430ca99e759cd2e392126982457744fff673b5
do-file should not force a bareword

A word following do is forced to be a bareword for do-sub’s sake.  But
if it is going to be interpreted as do-file after all, that does not
make sense.  ‘do subname;’ should call the sub and run the file whose
name it returns, instead of running the file named ‘subname’.
t/op/do.t
toke.c