Practical Extraction and Reporting Language Interview Questions and Answers

Perl is an interpreted language that is optimized for string manipulation, I/O, and system tasksPerl is a script programming language that is similar in syntax to the C language and that includes a number of popular UNIX facilities such as sed, awk, and tr. Perl is an interpreted language that can optionally be compiled just before execution into either C code or cross-platform bytecode. When compiled, a Perl program is almost (but not quite) as fast as a fully precompiled C language program. Perl is regarded as a good choice for developing common gateway interface (CGI) programs because it has good text manipulation facilities (although it also handles binary files). It was invented by Larry Wall.

PERL Interviews are getting tough these days as the technology grows faster. To get through the PERL interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed PERL questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on PERL and various other technologies interview preparation.



<< Previous                Next >>

 

11. what does 'qw(..)' mean? What's the use of it?

when do we use it? qw// is a construct which quotes words delimited by spaces. use it when you have a long list of wordes that are not quoted or you just don't want to type those quotes as you type out a list of space delimited words used to ref the elements of an arrray. @a = qw (1 2 3 4); vs ("1", "2", "3", "4");


12. what does the word '&myvariable' mean? what does the symbol '&' means? What's purpose of it?

&myvariable is calling a sub-routine. & is used to identify a sub-routine.


13. what does this mean '$^0'? tell briefly plse..

$^ - Holds the name of the default heading format for the default file handle. Normally, it is equal to the file handle's name with _TOP appended to it.


14. what does this mean :

'$_' ? default variable in Perl.


15. what does this symbol mean '->'

reference the method of a module. use Net::Telnet; my $q = new Telnet (); $q->cmd('adkfjdk');


Your Ad Here

16. what is a DataHash(). What does it mean? and for what purpose it is used??

In Win32::ODBC, DataHash() function is used to get the data fetched through the sql statement in a hash format.


17. what is a subroutine?

A subroutine is like a function ... called upon to excecute a task.


18. What is CPAN ? What are the modules coming under this?

CPAN ic Comprehencive Perl Archive Network. Its a repository contains thousands of Perl modules, source and documentation, and all under GNU/GPL or similar licence. you can go to www.cpan.org for more details. Some Linux distributions provide a tool named "cpan" with wich you can install packages directly from CPAN


19. What is difference between perl and jsp.What are the Advantages

I think the question should be diff bet'n perl CGI and jsp...both are diff things why should u comparing them.. hv u asked this question in some interview :) or u know both and thinkin which one to use.lemme rit some diffWith JSP, if the code inside a page gets too big, or if you want to use it elsewhere, you can cut it out, make it into a Java class, and invoke it from anywhere in your application (even not from a page). With Perl, you're stuck inside the HTML box.Java programmers (as opposed to hackers or HTML monkeys) appreciate the importance of a clean language with complex OO data structures and strong typing.and we can also say ther are more ppl who are known to JAVA then Perl/PHP... and if u JAVA guy and getting same look and feel for Web (jsp) then why perl/PHP...above comment shows am against perl :) but am not.. perl is my fav. language... and i dont want to rit 1000 lines abt it now...


20. What is hash in perl?

A hash is like an associative array, in that it is a collection of scalar data, with individual elements selected by some index value which essentialyl are scalars and called as keys. Each key corresponds to some value. Hashes are represented by % followed by some name.


Your Ad Here

<< Previous                Next >>

 
Databases Questions and Answers
 
DB2 Interview Questions and Answers
IMS Interview Questions and Answers
MYSQL Interview Questions and Answers
Oracle Interview Questions and Answers
PL/SQL Interview Questions And Answers
Quel Interview Questions and Answers
SQL Interview Questions and Answers

 
 
.NET Interview Questions and Answers
 
ASP Interview Questions and Answers
C# Interview Questions and Answers
Visual Basic Interview Questions and Answers
 
J2EE Interview Questions and Answers
 
Enterprise Java Beans (EJB) Interview Questions And Answers
Hibernate Interview Questions And Answers
Jave Messaging Service (JMS) Interview Questions And Answers
Jave Server Faces (JSF) Interview Questions And Answers
Java Server Pages (JSP) Interview Questions And Answers
Servlets Interview Questions And Answers
Spring Framework Interview Questions And Answers
Struts Framework Interview Questions And Answers
 
JAVA Interview Questions and Answers
 
Core Java Interview Questions and Answers
Java Platform, Micro Edition (Java ME) Interview Questions And Answers
JAVA GUI Interview Questions and Answers
Java Performance Tuning Interview Questions And Answers
JUnit Interview Questions And Answers
Remote Method Invocation (RMI) Interview Questions And Answers
Unified Modeling Language (UML) Interview Questions And Answers
 
Java Application Server Interview Questions And Answers
 
Tomcat Application Server Interview Questions And Answers
WebLogic Application Server Interview Questions And Answers
 
Mainframe Interview Questions and Answers
 
CICS Interview Questions and Answers
COBOL Interview Questions and Answers
IMS Interview Questions and Answers
JCL Interview Questions and Answers
REXX Interview Questions and Answers
TELON Interview Questions and Answers
VSAM Interview Questions and Answers
 
Object Oriented Language Questions and Answers
 
C Interview Questions and Answers
C++ Interview Questions and Answers
Eiffel Interview Questions and Answers
J2EE Interview Questions and Answers
JAVA Interview Questions and Answers
Sather Interview Questions and Answers
Small talk Interview Questions and Answers
 
Operation Systems Interview Questions and Answers
 
MS DOS Interview Questions and Answers
Unix OS Interview Questions and Answers
Windows Interview Questions and Answers
 
Scripting languages Interview Questions and Answers
 
Java Script Interview Questions and Answers
Practical Extraction and Reporting Language Interview Questions and Answers
PHP Interview Questions and Answers
VBScript Interview Questions and Answers
 
UserInterfaces Questions and Answers
 
Foxit Interview Questions and Answers
Glade Interview Questions and Answers
Tweak Interview Questions and Answers
 
WEB Technologies Questions and Answers
 
AJAX Interview Questions and Answers
HTML Interview Questions and Answers
WML Interview Questions and Answers
XML Interview Questions and Answers
 
Interview Tips And Some Common Questions
 
Behavioral Interview Questions And Answers


Your Ad Here