Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Help with my rookie logic

by apl (Monsignor)
on Sep 17, 2010 at 12:28 UTC ( #860473=note: print w/replies, xml ) Need Help??


in reply to Help with my rookie logic

opendir (DIR, $filepath) || die("Cannot open directory");
should be modified to
opendir (DIR, $filepath) || die("Cannot open directory '$filepath': $!");

Similarly,
print "$file does not match\n";
could be modified to
print "'$file' does not match '$subname'\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://860473]
help
Chatterbox?
[Corion]: Whoa! Somebody forwarded the AnyEvent::Impl:: Prima loop to schmorp and he's even interested in maintaining it himself - that'd be highly convenient for me ;)
[Corion]: (I also have a mail by dk who suggests some additions, which I should add this evening)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2016-12-09 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (151 votes). Check out past polls.