Give an example of using the -n and -p option.
No Answer is Posted For this Question
Be the First to Post Answer
What are the various flags/arguments that can be used while executing a perl program?
Why we use "use lib $path"?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What is lexical variable in perl?
How to prevent file truncation in perl?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
i have a folder called 'error' and in that, i have error log files which are generated by the build, now i want to findout the string 'error' from each log file and that error has to be copied into the another file called 'analysis'. how do you do this in perl?
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?
Why Perl aliases are considered to be faster than references?
What are the different instances used in cgi overhead?
“Perl regular expressions match the longest string possible”. What is the name of this match?
What is automatic error handling in perl?