Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between chop & chomp functions in perl?

Answer Posted / thangaraju

chop is used remove last character,chomp function removes
only line endings.

Is This Answer Correct ?    80 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the advantages of using c over perl?

918


How to find the length of an array in perl?

1023


How will you create a file in perl?

992


Explain the meaning of closure in perl.

1031


Write a program to show the process of spawning a child process

859


Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.

893


How many types of variable in perl?

1076


Define operators used in perl?

941


What is the use of command “use strict”?

1030


How does polymorphism work in perl? Give an example.

870


How to create a directory in perl?

1077


Explain the use of 'my' keyword in perl?

1022


you are required to replace a char in a string and store the number of replacements. How would you do that?

925


Explain splicing of arrays?

920


What are the different string manipulation operators in perl?

912