Define print() function in perl?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Define perl scripting?
Differentiate use and require?
How can the user execute a long command repeatedly without typing it again and again?
Explain perl one-liner?
Explain chomp?
Why do you use Perl?
What is 'rollback' command in perl?
Packing and Unpacking. Hi, I want to get output as 0x23400000345.... in the below example How to get? i tried out, but unable to get the answer $r=0x234; $t=0x345; $y=pack('L L',$t,$r); $x1=unpack('L!',pack('P',$y)); printf("\nThe value is $x1"); I didn't get constant output
How to change a directory in perl?
What are scalars?
You want to open and read data files with perl. How would you do that?