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 |
How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.
What are the various perl data types based on the context?
Name an instance where you used a CPAN module?
What purpose does each of the following serve: -w, strict, - T ?
Which functions in perl allows you to include a module file. State their differences.
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
what are prefix dereferencer and list them out?
How will you access an element of a perl array?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
Differentiate use and require?
What is perl? What is the basic command to print a string in perl?
What is the importance of perl warnings? How do you turn them on?