Try this from a directory that contains a subdirectory named review.
my $name = "../broken.pl"; open(FILE, ">review/$name") || die "Can't write to review/$name!\n"; print FILE "Hi"; close FILE;
Notice that it creates a broken.pl in the current directory instead of the subdirectory.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re^5: issues displaying cgi script source?
by antirice
in thread issues displaying cgi script source?
by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |