Help for this page

Select Code to Download


  1. or download this
    my %hash = ( 'one' => 1, 'two' => 2, 'three' => 3, 'four' => 4, 'five'
    + => 5);
    my %dependencies =( 'one' => [], 'two' => [], 'three' => ['four'], 'fo
    +ur' => ['one','two'], 'five' => ['three']);
    
  2. or download this
    sub my_del($){
    while (my $key = each (%hash)){
    ...
    
    
    my_del('one');
    
  3. or download this
    KEY = three
    
    ...
    
    Deleting one
    
  4. or download this
    my %dependencies =( 'one' => [], 'two' => [], 'three' => ['one'], 'fou
    +r' => ['three','two'], 'five' => ['three']);
    
  5. or download this
    KEY = three
    Going to call sub for three
    ...
    KEY = two
    
    Deleting one