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 create a file in perl?

1058


List the files in current directory sorted by size ?

1028


How to turn on Perl warnings? Why is that important?

1138


What is perl shift array function?

1018


What is lexical variable in perl?

995


Is perl a case sensitive language?

1160


How to change a directory in perl?

983


You want to add two arrays together. How would you do that?

938


Can we load binary extension dynamically?

999


Write syntax to add two arrays together in perl?

974


Explain ivalue?

1051


What does this symbol mean '->'?

1079


Explain what is perl language?

979


Explain substr function in perl?

1088


Explain what is lvalue?

1073