How can you call a subroutine and identify a subroutine?
No Answer is Posted For this Question
Be the First to Post Answer
What is the easiest way to download the contents of a URL with Perl?
What is a chomp() function in perl?
What is the peculiarity of returning values by subroutines in perl?
What is qq (double q)operator in perl?
what are the two ways to get private values inside a subroutine or block?
Explain goto label?
Explain ivalue in perl?
how to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta 4312542 1 hema 21 Bangalore 2344345 2 ganesh 25 delhi 2445454 3 kartik 45 pune 4312121 4 santosh 25 Hyderabad 2254231 5 kumar 25 mysore 2344567 6 gita 34 mangalore 6532123 7 gita 32 pune 2213456 Q1.print the details of the person who r from bangalore q2.Replace the city name managlore to pune q3.prints no of person having name gita and hema q4.print how many are of age 25.
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 ?
“Perl regular expressions match the longest string possible”. What is the name of this match?
what is CPAN?
Which feature of perl provides code reusability?