We all know private variables exist in perl. But do private
METHODS exist in perl ? Eg ?
No Answer is Posted For this Question
Be the First to Post Answer
What is perl scripting?
How to count no of occurrence of a unique patterns in 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.
Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?
“The methods defined in the parent class will always override the methods defined in the base class”. What does this statement means?
what are steps to do to lock the sony ericsson mobile with password?
How can you replace the characters from a string and save the number of replacements?
What is perl pop array function?
How can we create perl programs in unix, windows nt, macintosh and os/2 ?
You want to open and read data files with perl. How would you do that?
How will you create a file in perl?
Write an example explaining the use of symbol tables.