http://www.perlmonks.org?node_id=979322


in reply to Re: perlApp --gui and chdir
in thread perlApp --gui and chdir

i am trying to get a logfile to write in a specific location no matter where i run the compiled .exe from so if i do

my $file = pathtofile;

When I open a output file handler on the output file i want the data to be written to the path but everytime no matter what i try this is not the case it will write the log file to where ever i run the .exe from

Thanks for the response