Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Inserting, update and deleteting a database under conditions

by Nik (Initiate)
on Jan 09, 2008 at 12:22 UTC ( [id://661326]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://661326]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found