Answer Posted / mahendra ratnakar
The variables declared with "my" can live only within the
block it was defined and cannot get its visibility
inherited functions called within that block, but one
defined with "local" can live within the block and have its
visibility in the functions called within that block.
Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
List all the features of perl programming?
What's the difference between /^Foo/s and /^Foo/?
What is the function of virtual documents in cgi programs?
Explain string comparison operators in perl.
Which functions in perl allows you to include a module file. State their differences.
What does `$result = f() .. g()' really return?
What is the difference between localtime() and gmtime() functions?
How can you create anonymous subroutines?
Which operator in perl is used for the concatenation of two strings?
Explain perl. When do you use perl for programming?
what is the function that is used to identify how many characters are there in a string?
explain the various functions/directives in perl that allow you to include/import a module. Also, state the differences between them.
Write a program to decode the data in the form using cgi programming
How do I sort a hash by the hash value?
Explain the different types of data perl can handle.