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

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

957


What are the different ways to run cgi?

958


Comment on the scope of variables in perl.

920


Write the program to process a list of numbers.

977


Who created perl?

911


Explain what is STDIN, STDOUT and STDERR?

1027


What $! In perl?

952


What does redo statement do in perl?

1026


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

929


Explain the default scope of variables in perl?

932


How can memory be managed in Perl?

1045


How to read from a pipeline with Perl

1031


what are prefix dereferencer and list them out?

1027


How to prevent file truncation in perl?

1004


How to read file into hash array ?

1088