This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
replace PL_doextract with better kinds of variable
authorZefram <zefram@fysh.org>
Wed, 13 Oct 2010 18:59:23 +0000 (19:59 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 21 Oct 2010 12:52:39 +0000 (05:52 -0700)
commit737c24fc85ea612b3265f06a29053674bfbe17bd
tree3741fc528606f4639eb64ee7af38f062516fd865
parentf07ec6dd59215a56bc1159449a9631be7a02a94d
replace PL_doextract with better kinds of variable

PL_doextract had two unrelated jobs, neither best served by an interpreter
global variable.  The first was to track the -x command-line switch.
That is replaced with a local variable in S_parse_body().  The second
was to track whether the lexer is in the middle of a =pod section.
That is replaced with an element in PL_parser.
embedvar.h
intrpvar.h
parser.h
perl.c
sv.c
toke.c