Interviewer And Interviewee Guide

CGI Perl Interview Question:

Write a script to reverse a string without using Perls built in function?

Submitted by: Administrator
my $i;
my $str="hello";
my @str=split('',$str);

for($i=$#str;$i>=0;$i--)
{

print $str[$i];
}
Submitted by: Administrator

Read Online CGI Perl Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.