# Basic syntax: @matched_files = glob("search_pattern"); # Where: # - @matched_files is an array of files that matched the glob search pattern # - you can iterate through the array with a loop, e.g.: # foreach $file (@matched_files) { # print "$file\n"; # } # Example usage: # If you wanted to load the list of files in /usr/bin that contained py, you # would use: @matched_files = glob("/usr/bin/*py*");