in reply to find the path of perl script

Backslash '\' is a special character. try this before you insert.

$path = $dbh->quote($path);

You should also look into using placeholders.

I hope that helps.

Replies are listed 'Best First'.
Re^2: find the path of perl script
by afoken (Chancellor) on Dec 19, 2009 at 19:39 UTC

    Hmm, nice idea, but using placeholders is better. See also Re^2: Massive Memory Leak.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)