Nik has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Inserting, update and deleteting a database under conditions
by apl (Monsignor) on Jan 09, 2008 at 12:40 UTC
    You haven't included any code, so it's difficult to comment on why your attempts were fruitless and your code (did) not do what the remarks say.

    You seem to have the program broken down into six reasonable components. Why not pick one or more, show us what you've done, and tell us what resulted?
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Inserting, update and deleteting a database under conditions
by moritz (Cardinal) on Jan 09, 2008 at 12:46 UTC
    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

      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.