Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Testing for readdir failure

by Laurent_R (Canon)
on Apr 21, 2013 at 14:54 UTC ( [id://1029771]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'opendir DIR, "foo" or die "$!"; @c=readdir DIR; print "@c\n
    +"; closedir DIR; @c=readdir DIR or die "$!"'
    . ..
    Bad file descriptor at -e line 1.
    
  2. or download this
      DB<8> @c = readdir DIR or die "$!"
    Illegal seek at (eval 12)[/usr/lib/perl5/5.10/perl5db.pl:638] line 2.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1029771]
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-20 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found