This may be slightly off-topic, but I have a quick Perl question. I am
trying to do some mods to manage.cgi. I am using DB_File, which I want to
retrieve info from during a manage.cgi session.
If I use the $reg_domain variable as a key, like this
tie %REDIRECTS, "DB_File", $REDIRECTFILE or die "Can't Open Database:$!\n";
if (exists $REDIRECTS{$reg_domain}) {
print "I found $reg_domain\n";
}
I get nothing... If I write in this before the if statement:
$reg_domain = "thedomain.com";
nothing.
But this works:
$reg_domain = thedomain.com;
Can someone clue me in on how to I can retrieve info from DB_File using
$reg_domain as a key?
Thanks in advance.
--
John Keegan
[EMAIL PROTECTED]
http://RackShare.com