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 lib "/data/WebGUI/lib"; | |
use strict; | |
use Getopt::Long; | |
use WebGUI::Session; | |
use Time::HiRes; | |
foreach my $libDir ( readLines( "/data/WebGUI/sbin/preload.custom" ) ) { | |
if ( !-d $libDir ) { | |
warn "WARNING: Not adding lib directory '$libDir' from /data/WebGUI/sbin/preload.custom: Directory does not exist.\n"; |
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
my $sql = "select email FROM users;"; | |
@emails = $dbh->buildArray($sql); | |
my $count = 0; | |
foreach $email (@emails) | |
{ | |
$count++; | |
if ($count == 1){ | |
$g = $email; | |
}else{ |