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
Who created perl?
Explain cpan?
Explain tk?
what is the function that is used to identify how many characters are there in a string?
Explain chop?
What is the use of command “use strict”?
How to merge two arrays in perl?
What does 'do' statement do in perl?
How do I send e-mail from a Perl/CGI program on a Unix system?
Why we use CGI?
What is qq (double q)operator in perl?
Explain perl.
What is perl programming?
Which operator in perl is used for the concatenation of two strings?
What does next statement do in perl?