This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
clarify eval $string scope in docs
authorDavid Mitchell <davem@iabyn.com>
Mon, 6 Jun 2011 10:19:37 +0000 (11:19 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 6 Jun 2011 10:19:37 +0000 (11:19 +0100)
commit2341804c04aefb306adfdbe22c23e6cd11f0e48f
treefe755365850c8e7006723e8a9d852e1d25d4ba62
parent71edc89419f11505f2cdaba9b13be65582d7f011
clarify eval $string scope in docs

[perl #88014] demonstrated that the docs for string eval misleadingly
implied that the code wasn't executed within new new block scope,
leading to false expectations that $1 etc would retain their values
outside the eval.
pod/perlfunc.pod