Duh v D'oh

Paul Makepeace paulm at paulm.com
Thu Nov 13 13:20:10 GMT 2008


On Thu, Nov 13, 2008 at 1:15 PM, Paul Makepeace <paulm at paulm.com> wrote:
> On Thu, Nov 13, 2008 at 12:59 PM, Philippe Bruhat (BooK)
> <philippe.bruhat at free.fr> wrote:
>> On Thu, Nov 13, 2008 at 12:34:54PM +0000, Paul Makepeace wrote:
>>>
>>> stix:~$ python
>>> Python 2.4.5 (#2, Aug  1 2008, 12:02:10)
>>> [GCC 4.3.1] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> a = {'foo': 'bar'}
>>> >>> a['foo']
>>> 'bar'
>>> >>> for k in a:
>>> ...   print k
>>> ...
>>> foo
>>> >>> for k in a: print k
>>> ...
>>> foo
>>
>>>>> exit
>> Use exit() or Ctrl-D (i.e. EOF) to exit
>>>>>
>>
>> OK, it was easy, but it illustrates the differences in mentality so
>> well. ;-)
>
>  DB<1> exit
> Debugged program terminated.  Use q to quit or R to restart,
>  use o inhibit_exit to avoid stopping after program termination,
>  h q, h R or h o to get additional info.
>  DB<2>
>
> Not sure what to conclude from either of those :-)

Try ^D after that exit,

  DB<2> Config::DESTROY(/System/Library/Perl/5.8.8/darwin-thread-multi-2level/Config.pm:63):
63:     sub DESTROY { }
  DB<2> exit
starburst:~ paulmakepeace$

Ya OK :)

Then you have,

  DB<1> quit

  DB<2>

And,

  DB<1> ^C^C^C^C^C


More information about the london.pm mailing list