develooper Front page | perl.perl5.porters | Postings from September 2013

Re: A few Perl gdb debugging tools

Thread Previous | Thread Next
From:
Zefram
Date:
September 30, 2013 17:09
Subject:
Re: A few Perl gdb debugging tools
Message ID:
20130930170937.GN21945@fysh.org
Matthew Horsfall (alh) wrote:
>I do. The point is to catch the parsing of the if(...) statement,

Oh, well, you can have BEGIN{study} immediately before the if(...),
or if you really want to break in the middle of parsing the condition
expression you can do

	if($a && do { BEGIN { study } 1 } && $b) {

-zefram

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