And then wondering the best way to push into an array or map for using in and INSERT statement, and then using in reference for later use. Or would this be something that is better to do as a self object->

I suppose at first I was asking after referencing this through perldoc and google, what is the most effective way to store all params into a array of hashes or hash for later use. Here is my example of what I'm trying to figure out.

Code

# Define query my $q = CGI->new;

# These field names are the form fields name # and database column names I want to use my @fields = ( { what => 'newsdate' }, { what => 'newshead' }, { what => 'news' }, );

# Wanting to map the values of each param for later use # in SELECT or INSERT statments

My real goal is trying to use object, classes, methods to insert, remove, ... with SQL query. At first I was asking about gathering all params into a hash to store for later use which I did simplify how easy that was. Now i'm having trouble working with this class, method. It's not running through the process.