Option names used to be all lower case but since version 2.04 they are CaseInsensitive and can have embedded_underscores.
As larsen pointed out, you should only see that message if you have XML::Simple's strict mode enabled. If you're getting it with the code as you reported it's a bug - email me the failing code and I'll fix it.
XMLin() can accept a file handle, either some sort of IO::Handle object or a globref as in XMLin(\*DATA).
Sorry for the lag time, I have been ill. There is no bug to worry about, strict is indeed enabled. I tried to find some more answers in your XML FAQ (very nice by the way). It was informative, but I am still stranded.
I have tried all of the above suggestions, but still seem to be having difficulty. I have never been stuck on someting like this before. It can't be that difficult. please remember to be gentle, I am very new at perl. Thanks again, below is what I have, complete (I took the rest of the code out, leaving only the problem). Any more ideas as to what I am doing wrong?
use XML::Simple qw(:strict);
open(FILE, "someFile.DTD") or die "can't open file: $!";
my $config = XMLin("someFile.DTD", forcearray => 1);
the following common mistakes will be detected
and treated as fatal errors:
Failing to explicitly set the KeyAttr option - if you
can't be bothered reading about this option, turn it off
with: KeyAttr =>