What arguments do you frequently use for the Perl
interpreter and what do they mean?
Answers were Sorted based on User's Feedback
Answer / vipul dalwala
Mainly we are using -w argument for perl interpreter. That
means you are turning on warning messages.
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / sandeep kumar mall
Hi The various command line arguments are -e executes the
prog given as an argument-d start perl debugger on the file
name specified as an argument-c compile the file given as an
argument
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / jamal
-w Which show warning
-d Which debug
-c Which compile only not run
-e Which executes
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / sanjay garothaya
-w to show warning
-d to debug
-c to compile only not run
we can also use combination of these like
-wd
| Is This Answer Correct ? | 4 Yes | 0 No |
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What are hashes?
How does a “grep” function perform?
Why do you program in Perl?
Explain different types of perl operators.
What is perl push array function?
What are scalar data and scalar variables?
How to get help for perl?
what are prefix dereferencer and list them out?
How to find the length of an array in perl?
How to count no of occurrence of a unique patterns in perl?
Explain use of ‘my’ keyword in perl?