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

chop removes the last character and returns the character
chopped
Chomp removes any trailing string that corresponds to the
current value of $/ and returns number of characters removed

Is This Answer Correct ?    11 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lexical variable in perl?

876


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

911


What package you use to create a windows services?

832


You want to connect to sql server through perl. How would you do that?

886


What is the difference between die and exit in perl?

937


Differentiate between arrays and list in perl.

949


What $! In perl?

910


Explain what is perl language?

869


There are some duplicate entries in an array and you want to remove them. How would you do that?

864


What is -> symbol in perl?

960


How are parameters passed to subroutines in perl?

890


What does the’$_’ symbol mean?

949


Mention the difference between die and exit in Perl?

1042


How would you ensure the re-use and maximum readability of your perl code?

888


Explain USE and REQUIREMENT statements?

882