in reply to Inserting, update and deleteting a database under conditions

my @menu_files = map m{([^/]+)\.txt}, @files;

Your @menu_files will be rather boring - 0 or 1.

You should use grep instead of map.

Update: wait, that's crap... but on the other hand the result might still not be what Nik expects - dunno

Replies are listed 'Best First'.
Re^2: Inserting, update and deleteting a database under conditions
by Anonymous Monk on Jan 09, 2008 at 17:06 UTC
    Actually, it would be an array of '' (the empty string) or 1 -- but still boring.
A reply falls below the community's threshold of quality. You may see it by logging in.