This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Term::ANSIColor; | |
#Open a text file with a list of users to highlight | |
open our $handle, '<', "/home/<your username>/tweetersToHighlight.txt"; | |
chomp(our @customConsole = <$handle>); | |
#Convert array to hash/dictionary | |
our %users = map { $_ => 1 } @customConsole; | |
close $handle; | |
#Setup ttytter hook | |
$handle = sub { |