Help for this page

Select Code to Download


  1. or download this
         opendir(DIR,"../images/dir/name");
          @files = readdir(DIR);
    ...
    
         use Data::Dumper;
         print \@files;
    
  2. or download this
    @files = glob '../images/dir/name/*.{jpg,JPG}';
    
    ...
     my ($x, $y) = imgsize($_);
     print "$_:  x=$x, y=$y<BR>\n";
    }