Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Open a folder

by vinoth.ree (Monsignor)
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 avoiding work at the Monastery: (6)
As of 2016-07-01 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (407 votes). Check out past polls.