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...

Write a script to reverse a string without using Perl's
built in function

Answer Posted / kiran pawar

my $string = "kiran";

my @name = split//,$string;

while(@name){

print pop @name;

}

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which functions in perl allows you to include a module file.

968


How do you find the length of an array?

942


What are the purpose of close(), getc() and read() functions?

862


What exactly is grooving and shortening of the array?

997


Explain tk?

967


What is use of ‘->’ symbol?

993


How do you you check the return code of a command in perl?

972


List the files in current directory sorted by size ?

964


What are the features of perl language?

1061


Explain goto label?

904


Mention how many ways you can express string in Perl?

1001


Why does Perl not have overloaded functions?

1020


What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)

924


What is the closure in PERL?

1004


Which functions in Perl allows you to include a module file or a module and what is the difference between them?

986