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

Write the program to process a list of numbers.

943


How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.

2199


When would `local $_' in a function ruin your day?

916


What are the reasons that cookie server can’t handle multiple connections?

921


How to know whether a key exists or not in perl?

940


Write a program that explains the symbolic table clearly.

926


What is goto statement in perl?

904


What is cpan ? What are the modules coming under this?

887


Is perl compiler or interpreter?

901


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

977


Explain join function in perl?

905


What are the advantages of c over Perl?

895


Explain gmtime() function in perl?

928


How can you replace the characters from a string and save the number of replacements?

861


What exactly is grooving and shortening of the array?

976