Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 avoiding work at the Monastery: (6)
As of 2014-09-20 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (161 votes), past polls