Help for this page

Select Code to Download


  1. or download this
    %GLOBAL = {
        dir1 => "/path/to/directory"
        dir2 => "/path/to/another"
    }
    
  2. or download this
    [requires at the top]
    read_config_files();
    ...
        #Do operations that read .txt files and load
        #info into the GLOBAL hash structure.
    }
    
  3. or download this
    #A few requires...
    require "global.pl";
    require "config.pl";
    my first_directory = $GLOBAL{dir1};
    etc...
    
  4. or download this
    %GLOBAL = {
        dir1 = "/path/to/directory",
        dir2 = "/path/to/another",
        newstuff = "a string that was added",
    }