How do you give functions private variables that retain their values between calls?
No Answer is Posted For this Question
Be the First to Post Answer
“Perl regular expressions match the longest string possible”. What is the name of this match?
What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module(); and Package::Module;
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
while(my($key, $value) = each(%hash) ) { print "$key => $value\n"; } my($key, $value); while(($key, $value) = each(%hash) ) { print "$key => $value\n"; } What is the different between these two code in case of "my" usage ?
You want to empty an array. How would you do that?
write a Perl script to find a particular word in a paragraph???
Explain the difference between declarations of 'my' and 'local' variable scope in perl?
what is the main function of fork() in cgi programming?
Explain gmtime() function in perl?
Why do we use "use strict" in perl?
How do I do fill_in_the_blank for each file in a directory?
How can the user execute a long command repeatedly without typing it again and again?