Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: From a Newbie/help diagnosing an error opening a directory

by tobyink (Canon)
on Oct 31, 2012 at 16:04 UTC ( [id://1001696]=note: print w/replies, xml ) Need Help??


in reply to From a Newbie/help diagnosing an error opening a directory

"Can't open /tmp/folder: Not a directory at movingfilesscript.pl line 23"

The "Not a directory" error usually happens when you try to call opendir on something that exists but is... ummm... not a directory! For example, it may be a file or a FIFO or some other gubbin on the filesystem.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found