Help for this page

Select Code to Download


  1. or download this
    
    # Traverse directories recursively using opendir()
    ...
        return @dir_contents;
    }
    
  2. or download this
    
    # This is another way to traverse directories and files recursively,
    ...
        tie %dir, "IO::Dir", "$base_dir";
        return %dir;
    }
    
  3. or download this
    
    # Just a chargen socket
    ...
        exit(0);
    }
    
  4. or download this
    
    # Restart a program when it terminates
    ...
    
    start_process();