Question: I'm having `UIImage` with arrow mark,on that I had place custom button.
When i clicked this button I want to Show te date picker.
After selecting the date from date-picker,I need to show selected date as button text.
I'm using the button by XIB.

Answer: 
This may works:

```
my $sql_str = join ',' => map { $_ = qq|'$_'|; } @tab;

```

But, manually building your SQL this way is a **bad idea™**. [Parameter binding](https://stackoverflow.com/q/2207654/100754) is the proper way to solve this problem.
Do You need an array, or a string fr the `in` clasue? I assume a string is proper, so what about this?

```
my $sql_str = join ",", map { $dbh->quote $_ } split ",", $tab[0];

```

But `Miguel Prz` is right, You should use [parameter binding](http://docstore.mik.ua/orelly/linux/dbi/ch05_03.htm) instead! This will save Your Oracle server for parsing over and over again the same SQL statements.

Other minor issue. If You use `my @tab=<FILE>;` it will read the whole file. But in the code only the first line is used. So You could use `my $tab = <FILE>;` to read only the first line.