How will you open a file in a write-only mode 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.
Write an expression or perl script to identify the entered ip address is valid or not?
How to connect to SQL server through Perl?
What syntax is used for grep() function?
How will you declare a variable in perl?
What do you mean by context of a subroutine?
Explain about the applications of perl?
Can you add two arrays together?
What are the reasons that cookie server can’t handle multiple connections?
How to turn on Perl warnings? Why is that important?
How will you open a file in a write-only mode in perl?
How to get help for perl?