Help for this page

Select Code to Download


  1. or download this
    print 'My enemy must ', $enemy->obey(),
           undef($enemy),
          '. His phaser is named ', $phaser->{name},
           eval('$enemy->exterminate()'),
          ". Bye!\n";
    
  2. or download this
    *** Before print statement ***
    
    ...
                     undef($enemy)                               |
                     obey()<-ref---------------------------------+
                     'My enemy must '
    
  3. or download this
    *** Executing through print, just after undef step ***
    
    ...
                     undef($enemy)                               |
                     obey()<-ref---------------------------------+
                     'My enemy must '
    
  4. or download this
    *** Print just finished, now removing items from stack ... ***
    
    ...
                                                                 |
    argument stack:  obey()<-ref---------------------------------+
                     'My enemy must '
    
  5. or download this
    $enemy--->undef                 Dalek:{phaser=> + } (ref=0)<-+
                                                    |            |
    ...
                                                                 |
    argument stack:  obey()<-ref---------------------------------+
                     'My enemy must '
    
  6. or download this
    $enemy--->undef                 Dalek:{phaser=>   } (ref=0)<-+
                                                                 |
    ...
                                                                 |
    argument stack:  obey()<-ref---------------------------------+
                     'My enemy must '
    
  7. or download this
    $enemy--->undef                 {FREE MEMORY              }
    
    $phaser------------------------>Phaser:{name=>'Exterminator'} (ref=1)
    
    argument stack:  'My enemy must '
    
  8. or download this
    #!/usr/bin/perl              
    use Data::Dumper;            
    ...
             
    Dump($b);
    Dump($t);
    
  9. or download this
    $ perl ex_destructo.pl
    --- before print ---
    ...
    SV = RV(0x8c650a4) at 0x8c65098
      REFCNT = 1
      FLAGS = (PADMY)