Sep 5, 2009, 1:43 PM
Post #1 of 6
Im trying to create file into a dir. But im trying to make the file path configurable . How would i get the file path from a variable or whatever.
$brconfig::$config_logfilepath is the file path i want to use set in brconfig.pm . brconfig.pm creates a configurable file where other config settings are set.
So how would i get the file path so it writes in the file in that dir. Not sure what to do.
could i do somthing like
open (ConsoleCommand, '>>$brconfig::$config_logfilepath\ConsoleCommand.txt');
print ConsoleCommand "command flymode ObjectID\n";
(This post was edited by Johnt on Sep 5, 2009, 1:46 PM)