Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 studying the Monastery: (9)
As of 2014-08-27 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (235 votes), past polls