in reply to help with form querying

use the glob function:
foreach my $file (glob("/directory/$searchString")) { # do something with filename; make a link, ect... }
$searchString would be any type of string you could type at a unix command line. So 12456* entered in a form and passed to this loop would return all files starting with 12456 in "directory".

Have fun,

Replies are listed 'Best First'.
Re^2: help with form querying
by calypso (Initiate) on Feb 11, 2005 at 13:38 UTC
    Is there like a glob module I need to add or use before the glob function works? cos right now its not.