I am thinking of something like this.
Am I doing this right?#! /usr/bin/perl $dir = "/root/dir"; opendir(BIN, $dir) or die "Can't open $dir: $!"; while( defined ($file = readdir BIN) ) { @array = #####now I am stuck!!!!!! }
In reply to Read a list of files into an array by monkeybus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |