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

Re: A few Perl gdb debugging tools

Thread Previous | Thread Next
From:
wolfsage
Date:
September 30, 2013 17:26
Subject:
Re: A few Perl gdb debugging tools
Message ID:
CAJ0K8bgFOp0ZbQSvNF4vFhVQrXcZ+Hbiq_7K8TLQaF3rXkHP+Q@mail.gmail.com
On Mon, Sep 30, 2013 at 1:09 PM, Zefram <zefram@fysh.org> wrote:
> 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

Perfect, thanks. New patch attached.

-- Matthew Horsfall (alh)

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