Help for this page

Select Code to Download


  1. or download this
     #!/usr/bin/perl5.8
    use Proc::ProcessTable;
    #use Tie::File::AsHash;
    
  2. or download this
     my %hash= ();
    
    %TV = (  flintstones =>{ series   => "flintstones",
    ...
                                           { name => "elroy",   role => "k
    +id",  age  =>  9, },
                                         ]
                           },
    
  3. or download this
     sub memory_use {
        my $t = new Proc::ProcessTable;
        foreach my $got ( @{$t->table} ) {
    ...
            return $got->size;
        }
    }
    
  4. or download this
      my $count = 10;
      my $key = 'test';
    
    ...
              %hash = (); # if we comment it memory constant
          }
      } #----for 1----#