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


Please Help Members By Posting Answers For Below Questions

Explain about typeglobs?

885


How to open a directory in perl?

1039


What is the importance of perl warnings?

1063


How does a “grep” function perform?

975


How do I do fill_in_the_blank for each file in a directory?

917


How to get help for perl?

944


List all the features of perl programming?

859


Explain perl. What are the advantages of programming in perl?

975


What is grep used for in perl?

882


What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?

978


What is use of ‘->’ symbol?

952


How can information be put into hashes?

927


What is the use of 'ne' operator?

943


How do you match one letter in the current locale?

965


What's the difference between /^Foo/s and /^Foo/?

1113