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

chop removes last character of the given string whereas
chomp removes the whitespace along with the character at the
end

chop-------> Perl----> Per
chomp------> Perl Program ----> Perl

Is This Answer Correct ?    4 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate use and require?

1002


When does circular reference occur?

964


You want to concatenate strings with perl. How would you do that?

922


How can you use Perl warnings and what is the importance to use them?

1024


Explain lexical variables.

998


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

990


What does the qq{ } operator do?

1012


What does a die() function do in perl?

1034


How to do comment in perl?

1007


What does -> symbol indicates in Perl?

1040


How do I send e-mail from a Perl/CGI program on a Unix system?

1062


How can arrays be tied?

964


What are the advantages of perl programming?

1051


What are the advantages and disadvantages of perl language?

968


How do I print the entire contents of an array with Perl?

1000