ArifS has asked for the wisdom of the Perl Monks concerning the following question:
Error-# c:\Folders\1Folder\1aFolder my $directory = "\\Folders\\1Folder\\1aFolder"; print "Folder: ", $directory, "\n"; opendir (DIR, $directory) or die $!; while (my $fldr = readdir(DIR)) { print "Files & Folders: ", $fldr, "\n"; }
Pointing to line - opendir (DIR, $directory) or die $!;Folder: \Folders\1Folder\1aFolder Invalid argument at c:\temp\dir1A9A.tmp\read.pl line ...##. Press any key to continue . . .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Windows folder access error ($^E)
by tye (Sage) on Oct 24, 2014 at 14:45 UTC | |
by ArifS (Beadle) on Oct 24, 2014 at 16:21 UTC | |
by perlron (Pilgrim) on Oct 24, 2014 at 18:01 UTC | |
|
Re: Windows folder access error
by GotToBTru (Prior) on Oct 24, 2014 at 14:41 UTC | |
|
Re: Windows folder access error
by Lotus1 (Vicar) on Oct 24, 2014 at 19:52 UTC | |
by ArifS (Beadle) on Oct 24, 2014 at 20:05 UTC | |
by tye (Sage) on Oct 24, 2014 at 20:25 UTC | |
by Lotus1 (Vicar) on Oct 24, 2014 at 23:59 UTC | |
by tye (Sage) on Oct 25, 2014 at 01:23 UTC | |
by ArifS (Beadle) on Oct 24, 2014 at 20:36 UTC | |
by Lotus1 (Vicar) on Oct 25, 2014 at 00:07 UTC | |
|
Re: Windows folder access error
by RAJESHWAR.MUKUND (Initiate) on Oct 24, 2014 at 23:31 UTC | |
by Anonymous Monk on Oct 25, 2014 at 02:40 UTC | |
by ArifS (Beadle) on Oct 27, 2014 at 13:09 UTC |