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 / ramya

chop removes the last character and returns the character
chopped
Chomp removes any trailing string that corresponds to the
current value of $/ and returns number of characters removed

Is This Answer Correct ?    11 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of now constructor in perl?

968


What is lexical variable in perl?

931


What are the various perl data types based on the context?

934


How will you create a file in perl?

990


What does file test operators do in perl?

912


What is v-strings?

1062


Explain socket programming in perl?

912


what is Perl one liner?

897


Write a script to reverse a string without using perl's built in functions?

986


what are the three groups involved in information sharing?

893


What can be done for efficient parameter passing in perl? Explain.

1019


How can memory be managed in Perl?

1051


What is the importance of perl warnings? How do you turn them on?

1039


Explain the different types of data perl can handle.

896


Which of these is a difference between Perl and C++ ?

1032