How to read from a pipeline with Perl
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of strict?
write a Perl script to find a particular word in a paragraph???
What are some of the key features of objects in perl?
explain the various functions/directives in perl that allow you to include/import a module. Also, state the differences between them.
I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line. eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0 for script name $@ set if error occur
List the prefix dereferencer in Perl.
Explain goto label, goto name, and goto expr?
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.
What is cpan in perl?
Define operators used in perl?
How to concatenate strings with perl?
Explain what is STDIN, STDOUT and STDERR?