How to print escaping characters inside a string in perl?
Answer / Neha Raghav
To print special characters like double quotes (") or backslashes () in Perl, you can escape them using backslashes. For example: print "This is a string with ".""" double quotes";
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of -n and -p options?
Which of these is a difference between Perl and C++ ?
Explain splicing of arrays?
Differentiate use and require?
What interface used in PERL to connect to database? How do you connect to database in Perl?
What is the difference between use and require in perl programming?
When would `local $_' in a function ruin your day?
Create a function that is only available inside the scope where it is defined ?
what are prefix dereferencer and list them out?
How do you give functions private variables that retain their values between calls?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What is v-strings?