Category Archives: Perl Scripting Interview Questions

Distinguish my and local? | Perl Scripting Questions

The variables which are declared using “my” lives only in that particular block ion which they are declared and inherited functions do not have a visibility that are called in that block. The variables which are defined as “local” are … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

How to use the command shift? | Perl Scripting Questions

Shift array function shifts off the first value of the array and returns it, thereby shortening the array by one element and moving everything from one place to the left. If you don’t specify an array to shift, shift uses … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

Why Perl patterns are not regular expressions? | Perl Scripting Questions

Perl patterns have back references: By the definition, a regular expression should determine next state in finite automaton without extra money to keep in previous state. State machine is required by the pattern / ([ab] +) c1/ to remember old … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

Why do you create an application for real time system in which processing speed is vital? | Perl Scripting Questions

Perl is used in the following cases: To process large text When data manipulation is done by application If you require fast developments expand to become libraries To load database operations

Posted in Perl Scripting Interview Questions | Leave a comment

Why do we use PERL scripting? | Perl Scripting Questions

We use PERL scripting because it is rich in all regular expressions and functional concepts, we can create our own rules to find out particular generalized pattern by using regular expression. PERL supports or compatible in almost 76+ Operating systems … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

What is Perl Scripting? | Perl Scripting Questions

Perl Scripting is one of the robust scripting languages in the IT market which is being used in “n” of fields. Perl is rich in finding Regular expressions and stands unique in all fields of application. PERL is a scripting … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

Which has the highest precedence, List or Terms? Explain? | Perl Scripting Questions

Terms have the highest precedence in perl. Terms include variables, quotes, expressions in parenthesis etc. List operators have the same level of precedence as terms. Specifically, these operators have very strong left word precedence.

Posted in Perl Scripting Interview Questions | Leave a comment

What are the different types of perl operators? | Perl Scripting Questions

There are four different types of perl operators they are: (i) Unary operator like the not operator (ii) Binary operator like the addition operator (iii) Tertiary operator like the conditional operator (iv) List operator like the print operator

Posted in Perl Scripting Interview Questions | Leave a comment

What is meant by splicing arrays explain in context of list and scalar. | Perl Scripting Questions

Splicing an array means adding elements from a list to that array, possibly replacing elements now in the array. In list context, the splice function returns the elements removed from the array. In scalar context, the splice function returns the … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment

How do you work with array slices. | Perl Scripting Questions

An array slice is a section of an array that acts like a list, and you indicate what elements to put into the slice by using multiple array indexes in square brackets. By specifying the range operator you can also … Continue reading

Posted in Perl Scripting Interview Questions | Leave a comment