Delfim Machado wrote:

> hi
> 
> why not
> 
> my $var=shift;
> 
> my $var_q=$dbh->quote($var);
> 
> 
> now you have the quoted and unquoted vars


Sorry, I just realized that I omitted to include the context of my 
problem in my question about unquoting.

A quoted string (that has a lot of special characters in it) is written 
to a file. Later on it is read from that file and inserted into the 
database using placeholders and bind_param.

Now my problem is, that none of that quoting and metasign-substition 
disappears. e.g. don\'t is still don\'t and \n stays \n. How can I 
unquote, resubstitue, ... ???

Martin




-- 
Martin Hesse    [EMAIL PROTECTED]

nova ratio AG - IT-Systemhaus fuer Produkte und Dienstleistungen
Ransbach-Baumbach
Germany

[EMAIL PROTECTED] 
Tel. : 02623 92420      Fax. : 02623 9242100

The information contained in this e-mail and any attachments is strictly 
confidential and may be legally privileged. It is intended solely for 
the use of the individual or entity to whom it is addressed. If you are 
not the named addressee, you are hereby notified that it is prohibited 
and may be unlawful to disclose, copy, distribute or store the 
information contained in this email.

Reply via email to