string is 'apples and bananas and peaches'... ">, 2.

my $string = addjoin( 'apples', 'bananas', 'peaches'); warn "string is '$string'"; > string is 'apples and bananas and peaches'... ">, 3.

my $string = join( 'apples', 'bananas', 'peaches'); warn "string is '$string'"; > string is 'apples and bananas and peaches'... ">, 4.

All of the above  

">
MCQs > IT & Programming > Perl > Which option would you use to stitch a list of strings into a single string?

Perl MCQs

Which option would you use to stitch a list of strings into a single string?

Answer

Correct Answer:

my $string = join( 'apples', 'bananas', 'peaches'); warn "string is '$string'"; > string is 'apples and bananas and peaches'... ">

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it