What is the difference between chop & chomp functions in perl?
Answer Posted / deepesh
chop() is used to remove last character where chomp() is
only remove new line if its existing or white space.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How will you create a file in perl?
List the files in current directory sorted by size ?
How to turn on Perl warnings? Why is that important?
What is perl shift array function?
What is lexical variable in perl?
Is perl a case sensitive language?
How to change a directory in perl?
You want to add two arrays together. How would you do that?
Can we load binary extension dynamically?
Write syntax to add two arrays together in perl?
Explain ivalue?
What does this symbol mean '->'?
Explain what is perl language?
Explain substr function in perl?
Explain what is lvalue?