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

What is the different between array and hash in perl programming?

886


How to find the length of an array in perl?

979


Explain chomp?

873


What are perl array functions?

1027


I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line. eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0 for script name $@ set if error occur

2004


What is the difference between single (') and double (") quote in a string in perl?

927


how to extract pin_code,phone_number,year from text file using regular expressions in perl

2202


How to renaming a file in perl programming?

994


What are the various flags/arguments that can be used while executing a perl program?

831


Explain perl. What are the advantages of programming in perl?

978


Mention how many ways you can express string in Perl?

982


What are the features of perl language?

1032


what is the difference between java and cgi?

1014


What does undef function in perl?

896


what is the function that is used to identify how many characters are there in a string?

920