What do the symbols $ @ and % mean when prefixing a
variable?
Answer Posted / bhavani
$ indicate scalar data type
@ indicates an array and
% indicates an hash or an associative array.
| Is This Answer Correct ? | 37 Yes | 0 No |
Post New Answer View All Answers
You want to add two arrays together. How would you do that?
How would you ensure the re-use and maximum readability of your perl code?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What are the different string manipulation operators in perl?
What is the importance of perl warnings? How do you turn them on?
Explain ivalue?
What does next statement do in perl?
What are the logical operators used for small scale operations? Explain them briefly.
Differentiate between arrays and list in perl.
What are the advantages of c over Perl?
Create a function that is only available inside the scope where it is defined ?
List the files in current directory sorted by size ?
How can memory be managed in Perl?
What happens in dereferencing?
How do find the length of an array?