zzgulu has asked for the wisdom of the Perl Monks concerning the following question:
"Unable to open .: Permission denied at C:\MOVE\output\test\script3.pl line 8."
#!/usr/bin/perl use strict; use warnings; opendir DIR,"C:/move/output/test/"; while (my $filename=readdir DIR) { open my $fh, $filename or die "Unable to open $filename: $!"; open OUT,">C:/move/output/test/out.txt"; select OUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: permission error
by toolic (Bishop) on Mar 01, 2010 at 20:05 UTC | |
by zzgulu (Novice) on Mar 01, 2010 at 21:26 UTC | |
by jrsimmon (Hermit) on Mar 01, 2010 at 22:22 UTC | |
by zzgulu (Novice) on Mar 02, 2010 at 14:02 UTC | |
|
Re: permission error
by jwkrahn (Abbot) on Mar 01, 2010 at 19:34 UTC | |
|
Re: permission error
by Anonymous Monk on Mar 01, 2010 at 19:47 UTC | |
by zzgulu (Novice) on Mar 01, 2010 at 20:13 UTC |