develooper Front page | perl.perl5.porters | Postings from May 2011

Re: more given prevarications

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
May 17, 2011 07:32
Subject:
Re: more given prevarications
Message ID:
BANLkTimdfJeDz4oM57m9KugP9bfRBQZC6w@mail.gmail.com
On Tue, May 17, 2011 at 4:11 PM, Tom Christiansen <tchrist@perl.com> wrote:
> Would someone kindly tell me where to look the source code to figure out
> what when really does?  The "documented" exceptions cases are not good
> enough to understand it, so I need to look at the C source.  It was not
> as immediately obvious as it is with most other opcodes.

The behavior is a bit spread all over the place, but most of it is in
pp_ctl.c. The functions pp_entergiven, pp_leavegiven, pp_enterwhen and
pp_leavewhen are good starting points.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About