swissknife has asked for the wisdom of the Perl Monks concerning the following question:
Hello Experts,
I have a array which has only one element in it. To use it further I need this value in string. i understand that function join can convert an array into string but i have to specify delimiter. Since there is only one element there is no delimiter.
print "@myarray \n";prints "1234-23-56:567" and i need this complate value in string
Could someone help me in putting such array value in string. ? swissknife
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: put a array value into string.
by frozenwithjoy (Priest) on Mar 18, 2014 at 10:31 UTC | |
|
Re: put a array value into string.
by tosaiju (Acolyte) on Mar 18, 2014 at 10:40 UTC | |
|
Re: put a array value into string.
by clueless newbie (Curate) on Mar 18, 2014 at 12:46 UTC | |
|
Re: put a array value into string.
by llancet (Friar) on Mar 18, 2014 at 13:20 UTC | |
by swissknife (Sexton) on Mar 18, 2014 at 15:07 UTC |