You want to concatenate strings with perl. How would you do that?



You want to concatenate strings with perl. How would you do that?..

Answer / Sanjeet Kumar Choudhary

In Perl, you can use the '.' operator to concatenate two or more strings. For example: "my $string1 = "Hello"; $string2 = " World"; $final_string = $string1 . $string2;"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

What are perl array functions?

1 Answers  


What is the difference between perl list and perl array?

1 Answers  


what is the main function of fork() in cgi programming?

1 Answers  


When do you use perl programming?

1 Answers  


How will you create a file in perl?

1 Answers  


What is perl shift array function?

1 Answers  


What is automatic error handling in perl?

1 Answers  


How will you declare a variable in perl?

1 Answers  


What is the main function of cookie server?

1 Answers  


Does Perl have objects? If yes, then does it force you to use objects? If no, then why?

1 Answers  


Explain lists and ivalue?

1 Answers  


How to open and read data files with Perl

1 Answers  


Categories