Matthew Horsfall (alh) wrote: >I'd be fine with removing the reference to my module if there's >another way to catch the Parser inside an if() statement, etc, but I >couldn't figure out how to get BEGIN { } to work inside: You don't want BEGIN in that case. BEGIN{study} is intended to cause a break very early in perl execution, providing a good opportunity to set up additional breakpoints and watchpoints. If you want a break at a particular point in execution, you just want study() at that point. > if ($a && $b && BEGIN { study; } && $d) { } > if ($a && $b && (study(),1) && $d) { } -zeframThread Previous | Thread Next