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">&lt;<a href="mailto:friedman@highwire.stanford.edu">friedman@highwire.stanford.edu</a>&gt;</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&#39;t tell if Erik explained that using &#39;perl -d&#39; directly, without -e, puts you into STDIN input mode. Then you type perl commands and hit ^D (control-d) to tell perl &quot;End Of Input&quot; and it&#39;ll start interpreting what you gave it. I use this all the time to cut &amp; 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&#39;s face it: editing in the debugger is not optimal. :-)<br>
<br>
(Because it&#39;s interpreting STDIN this way, you can also use this to generate perl code somewhere else and then pipe that to &#39;perl -d&#39;. 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>
&gt; I put up a quick and dirty page for the presentation slides:<br>
&gt;<br>
&gt; <a href="http://pm.veritablesoftware.com/slides/" target="_blank">http://pm.veritablesoftware.com/slides/</a><br>
&gt;<br>
&gt; Here are Erik&#39;s slides in particular:<br>
&gt;<br>
&gt; <a href="http://pm.veritablesoftware.com/slides/perl_debugger/index.html" target="_blank">http://pm.veritablesoftware.com/slides/perl_debugger/index.html</a><br>
&gt;<br>
&gt; If I get time I&#39;ll make it nicer, but don&#39;t count on it. ;)<br>
&gt; _______________________________________________<br>
&gt; Phoenix-pm mailing list<br>
&gt; <a href="mailto:Phoenix-pm@pm.org">Phoenix-pm@pm.org</a><br>
&gt; <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>