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

How will you open a file in a write-only mode in perl?

953


Explain goto label, goto name, and goto expr?

923


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

1024


Can we load binary extension dynamically?

943


How interpreter is used in perl?

949


what are the steps involved in reading a cgi script on the server?

936


How does polymorphism work in perl?

916


What are the steps involved in configuring a server using cgi programming?

899


List all the features of perl programming?

900


How to add elements in a hash in perl?

926


What is the difference between exec and system?

1087


What is the use of strict?

938


What is boolean context?

993


You want to open and read data files with perl. How would you do that?

882


Explain '->' in perl?

928