Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Server access denied when checking for files

by chas (Priest)
on Apr 26, 2005 at 15:12 UTC ( [id://451620]=note: print w/replies, xml ) Need Help??


in reply to Re: Server access denied when checking for files
in thread Server access denied when checking for files

On my machine, a command like "C:\Documents and Settings\Tim\My Documents\test1>perl readdir.plx" doesn't work (produces a "Bad Command" error.)
Try "perl readdir.plx < C:\Documents and Settings\Tim\My Documents\test1" (or maybe a pipe instead of the ">").
That may be unrelated to your problem, though. As I mentioned in a previous reply, I think your last foreach loop is logically garbled. Why are you operating on the files in dismissed2.txt for each $f in @thefiles? And won't that just work for the first $f? (You will have reached end of file in dismissed2.txt after that.) (That may also be unrelated to the specific error you mention, though...)
chas
  • Comment on Re^2: Server access denied when checking for files

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451620]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found