How to read a file into a hash array?
No Answer is Posted For this Question
Be the First to Post Answer
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?
Who created perl?
What does the’$_’ symbol mean?
how to find a substring in a string without using substr built in functions, and print the substring found
How to compare two strings in perl?
Explain ivalue?
What are the various advantages and disadvantages of perl?
Consider the following example #! /bin/perl use strict; sub sample { my @arr=(1,2,3,4); return @arr; } my ($a,$b,$c,$d) = &sample; print "$a\n$b\n$c\n$d\n"; In the above code, How can I get the $c without using the arguments such as $a,$b. I don't want to use any array to get the return values.
How do you you check the return code of a command in perl?
How to count no of occurrence of a unique patterns in perl?
What is the closure in PERL?
What is the use of "stderr()"?