in reply to Re: random file selection
in thread random file selection

The code at the bottom of this post seems to work nicely. Except that it only works with .pl files in the directory. Why?

Replies are listed 'Best First'.
Re: Re: Re: random file selection
by derby (Abbot) on Jun 13, 2003 at 10:42 UTC
    because the others are directories? The -f portion of the snippet extracts only the plaintext files from the list (see perlfunc:_X). Without a listing from the target directory, I cannot be more specific.

    -derby