Are you sure that an appender is what you want? If so then you shouldn't be creating a new Log::Log4perl::Appender::File
object directly - you create a Log::Log4perl::Appender
object and pass the class for the type of appender you want as the first parameter to the constructor. Like this:
my $app = Log::Log4perl::Appender->new(
'Log::Log4perl::Appender::File',
filename => 'C:/users/my name/Desktop/someFile.txt',
mode => 'clobber',
utf8 => 1,
);