This works fine. Lisa.Textfile="file.htm"; use Cwd; chdir("$ENV{DOCUMENT_ROOT}/directory") || die "Can't move to /etc, err +or = $!\n"; my $dir = getcwd; open (DAT,">${dir}${TextFile}") or die $!; print DAT "$text\n" or die $!; close(DAT) or die $!;
In reply to Re: Directory Help
by wolverina
in thread Directory Help
by wolverina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |