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

What is the use of command “use strict”?

1082


Explain perl one-liner?

998


What are the various uses of perl?

1093


How to access parameters passed to a subroutine in perl?

1008


How many data types are there in perl?

1006


What is a chomp() function in perl?

1105


How interpreter is used in perl?

989


Explain cpan?

1022


How will you declare a variable in perl?

1027


What is the difference between perl array and perl hash?

1171


Write syntax to add two arrays together in perl?

972


Explain join function in perl?

997


Create a function that is only available inside the scope where it is defined ?

1052


Why do you use Perl?

1025


Define say() function in perl?

1015