Interview Questions And Answers Guide

Global Guideline - Interviewer and Interviewee Guide

Links

  • Home
  • Interview Questions
  • Online Quiz Tests
  • Forum
  • Contact Us
  1. Interview Guides
  2. Computer Programming
  3. CGI Perl

CGI Perl Question:
Download Questions PDF

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

Answer:

Post Your Answer Add New Question
my $i;
my $str="hello";
my @str=split('',$str);

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

print $str[$i];
}

Download CGI Perl Interview Questions And Answers PDF

Previous QuestionNext Question
How to find a substring in a string without using substr built in functions, and print the substring found?Try pattern matching for the following:
1) 10.111.23.11
2) /root/abc/cde/fgg/ac.xml --> Get file name without extention.
3) /root/abc/ac.xml/fgg/ac.xml --> Get file name without extention.
4) What does "DIE" meant in PERL?
5) chomp
6) "This is saturday" --> Print the weekday number.
7) 11-2-2009 --> Print the name of the month.
8) Reverse the string without using func in C.?

Interview Categories:

Most Popular Quiz Categories:

Java AWT And SwingSAT (Scholastic Aptitude Test) Sentence CorrectionNetworkingOOAD (Object Oriented Analysis and Design)ManagementTestingWeb TechnologiesBank PO (Probationary Officer)Windows Presentation Foundation (WPF)C Language Preprocessor

Links:

  • JavaScript Tutorial
  • XML Tutorial
  • SQL Tutorial
  • HTML Tutorial
  • CSS Tutorial
  • XSLT Tutorial
  • SEO Tutorial
  • Database Articles
  • Web Hosting Guide

Most Popular Interview Guides

  • Business and Economy
  • Networking
  • Computer Programming
  • Operating System
  • Computer Hardware

Web Tutorials

JavaScript Tutorial XML Tutorial SQL Tutorial HTML Tutorial CSS Tutorial XSLT Tutorial SEO Tutorial Database Articles Web Hosting Guide

Keep in touch with us

Copyright © 2007 - 2021 www.globalguideline.com

all rights reserved. 269 visitors are online now
  • About Us
  • Contact Us
  • Terms of use
  • Privacy Policy
Face Book Twitter Linkedin