go ahead... be a heretic | |
PerlMonks |
Re: From a Newbie/help diagnosing an error opening a directoryby tobyink (Canon) |
on Oct 31, 2012 at 16:04 UTC ( [id://1001696]=note: print w/replies, xml ) | Need Help?? |
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'
In Section
Seekers of Perl Wisdom
|
|