PerlElvir
Technical User
- Aug 23, 2005
- 68
How can I join ($special) to last element in array?
so I have :
---------------------------
@names=(Smith,Elvir,Damir)
and
$special
----------------------
now I have for loop
------------------------
for ( $i = 0; $i <= $#names; ++$i )
{
print $names."\n";
}
------------------------------
so now I want insert in DB like this
Smith
Elvir
Damir.$special
????????????