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

Re: A few Perl gdb debugging tools

Thread Previous | Thread Next
From:
wolfsage
Date:
November 17, 2013 22:15
Subject:
Re: A few Perl gdb debugging tools
Message ID:
CAJ0K8biEsK__9o26O0Njm9qnJV7YHg5nqxSf+WcZXws0J9oZJA@mail.gmail.com
On Mon, Sep 30, 2013 at 1:25 PM, Matthew Horsfall (alh)
<wolfsage@gmail.com> wrote:
> 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)

Is this on anyone's list?

Thanks,

-- 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