I am kinda confused on this one...(I am new to perl)
in linux I use a variable to hold the location of the log files
$WD_LOGDIR = /var/log/WS
when I try to incorporate this variable to the open command, it creates a file in the "current location" that included the path name.
open (FILEOUT, "\$WD_LOGDIR\\progfile.log") or ....
what am I missing?
please help
in linux I use a variable to hold the location of the log files
$WD_LOGDIR = /var/log/WS
when I try to incorporate this variable to the open command, it creates a file in the "current location" that included the path name.
open (FILEOUT, "\$WD_LOGDIR\\progfile.log") or ....
what am I missing?
please help