This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move more globals into the global $self
authorJames E. Keenan <jkeenan@cpan.org>
Sat, 27 Mar 2010 22:22:13 +0000 (18:22 -0400)
committerSteffen Mueller <smueller@cpan.org>
Tue, 12 Jul 2011 18:53:52 +0000 (20:53 +0200)
commitc2d2fdd09b649a6c5691b462909152208167f3e6
tree45887ab87061acbd97ea5cc9dd2a7d49a196f694
parent551f599a61d56fa0f711d98404052e6bb550cb83
Move more globals into the global $self

Move $proto_re, $Overload, $errors, $Fallback, $hiertype,
$WantPrototypes, $WantVersionChk, $WantLineNumbers,
$filepathname, $dir, $filename, $BLOCK_re, $lastline, $lastline_no
into $self. $proto_re not used within ParseXS.pm, so remove it.
$FH did not play well with $self inside angle-bracket operator
(while loop). $Package could not be transformed either, probably
due to problems in its usage as ${Package} inside HEREdocs.
dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm