Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Open a folder

by vinoth.ree (Parson)
on Jan 08, 2013 at 10:37 UTC ( #1012218=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    my $tmp_dir="/tmp";
    opendir (DIR, $tmp_dir) or die $!;
    
  2. or download this
    while (my $file_name = readdir(DIR)) {print "$file_name\n";}
    
  3. or download this
    closedir(DIR);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-01-27 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (201 votes), past polls