Mike,<br><br>Thanks for that info - I tested it out and can see that it will be extremely useful. I did not cover that, nor did I know about it. I completely missed that while researching this. I will add it to the slides (eventually) and definitely cover it if I do this presentation again.<br>
<br>Erik<br><br><div class="gmail_quote">On Sat, Nov 13, 2010 at 4:50 PM, Michael Friedman <span dir="ltr"><<a href="mailto:friedman@highwire.stanford.edu">friedman@highwire.stanford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I finally got a chance to look these over. It sounds like a great presentation!<br>
<br>
I can't tell if Erik explained that using 'perl -d' directly, without -e, puts you into STDIN input mode. Then you type perl commands and hit ^D (control-d) to tell perl "End Of Input" and it'll start interpreting what you gave it. I use this all the time to cut & paste in some use statements, maybe a line or two of boilerplate code, and then drop me into the debugger after that.<br>
<br>
Cuz let's face it: editing in the debugger is not optimal. :-)<br>
<br>
(Because it's interpreting STDIN this way, you can also use this to generate perl code somewhere else and then pipe that to 'perl -d'. The short form is like this: `cat tmp/<a href="http://blah.pl" target="_blank">blah.pl</a> | perl -d` which is nearly identical to `perl -d tmp/<a href="http://blah.pl" target="_blank">blah.pl</a>`, but you could use anything on the other end of the pipe.)<br>
<br>
-- Mike<br>
______________________________________________________________________________<br>
Mike Friedman | HighWire Press, Stanford Univ | <a href="mailto:friedman@highwire.stanford.edu">friedman@highwire.stanford.edu</a><br>
<div><div></div><div class="h5"><br>
On Nov 11, 2010, at 7:35 PM, Douglas E. Miles wrote:<br>
<br>
> I put up a quick and dirty page for the presentation slides:<br>
><br>
> <a href="http://pm.veritablesoftware.com/slides/" target="_blank">http://pm.veritablesoftware.com/slides/</a><br>
><br>
> Here are Erik's slides in particular:<br>
><br>
> <a href="http://pm.veritablesoftware.com/slides/perl_debugger/index.html" target="_blank">http://pm.veritablesoftware.com/slides/perl_debugger/index.html</a><br>
><br>
> If I get time I'll make it nicer, but don't count on it. ;)<br>
> _______________________________________________<br>
> Phoenix-pm mailing list<br>
> <a href="mailto:Phoenix-pm@pm.org">Phoenix-pm@pm.org</a><br>
> <a href="http://mail.pm.org/mailman/listinfo/phoenix-pm" target="_blank">http://mail.pm.org/mailman/listinfo/phoenix-pm</a><br>
<br>
_______________________________________________<br>
Phoenix-pm mailing list<br>
<a href="mailto:Phoenix-pm@pm.org">Phoenix-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/phoenix-pm" target="_blank">http://mail.pm.org/mailman/listinfo/phoenix-pm</a><br>
</div></div></blockquote></div><br>