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
what is Perl one liner?
You want to download the contents of a url with perl. How would you do that?
What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)
How does polymorphism work in perl? Give an example.
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
When do you use perl programming?
Distinguish my and local?
What is posix in perl?
You want to empty an array. How would you do that?
Explain the functioning of conditional structures in perl.
Explain regular expression in perl?
How can you call a subroutine and identify a subroutine?
Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?
What is perl unshift array function?
What are hashes?