Hi friends,
I want to take a description (atleast 50 characters) from the html page using cgi->param and store it into a string variable in perl and pass this string variable to a query. for this i wrote the following code
my $desc = $cgi->param('comment')
then the error occured
Software error:
Insecure dependency in exec while running with -T switch at /var/www/html
So i changed the above line to
my $desc = $cgi->param('comment') =~ m/(.+)/ ? $1 :'';
is it correct???
Now error is not comming but the query insert function is not working..
But when i'm assigning the $desc with some string directly..then the query insert function is working properly..
Can anyone plz help me to solve this problem..
Thanks in advance
Kokul