How can we create perl programs in unix, windows nt, macintosh and os/2 ?
No Answer is Posted For this Question
Be the First to Post Answer
Write an example explaining the use of symbol tables.
What is a hash?
6 Answers Photon, Satyam, Wipro,
How will you access an element of a perl array?
write a script to display mirror image of a entered value and also check whether Palindrome
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.
What does read () command do?
What are scalars?
How and what are closures implemented in perl?
Explain lists ?
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.
Explain goto label?
What are hashes?