Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I reference these variables later in my script using the ? operator and not the variable name. I found that accessing the variables directing when inserting into a Database can cause problems. (eg with names such as O'Brian, O'Connor etc etc).my $c_first = $query->param('c_first'); my $c_address = $query->param('c_address'); etc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: posting variables for DBI insert
by monarch (Priest) on Sep 25, 2005 at 03:19 UTC | |
|
Re: posting variables for DBI insert
by BUU (Prior) on Sep 25, 2005 at 03:18 UTC | |
|
Re: posting variables for DBI insert
by davidrw (Prior) on Sep 25, 2005 at 03:49 UTC | |
|
Re: posting variables for DBI insert
by pg (Canon) on Sep 25, 2005 at 03:40 UTC | |
|
Re: posting variables for DBI insert
by Anonymous Monk on Sep 25, 2005 at 05:53 UTC |