Help for this page

Select Code to Download


  1. or download this
    sub peek_lexicals {
        my $h = peek_my(2);
    ...
        print  "values=", join (", ", values %$h), "-\n";
        print  "end of lexicals-----------------------\n";
    }
    
  2. or download this
    my $b = 42;
    $c = "Hallo world\n";
    
    print "printing lexical $b\n";
    print "printing global $c\n";
    
  3. or download this
    use Safe;
    use Safe::Hole;
    ...
    $Devel::Trace_shushu2::TRACE= 1;
    
    $QTL_CPT->rdo ( "$SCRIPT_NAME" );
    
  4. or download this
     
    lexicals-----------------------
    keys=$b-
    ...
    values=SCALAR(0x810811c)-
    end of lexicals-----------------------
    printing global Hallo world
    
  5. or download this
     
    lexicals-----------------------
    keys=$SCRIPT_NAME-
    ...
    values=SCALAR(0x824f76c), SCALAR(0x810b704), SCALAR(0x8225304)-
    end of lexicals-----------------------
    printing global Hallo world