What do the symbols $ @ and % mean when prefixing a
variable?



What do the symbols $ @ and % mean when prefixing a variable? ..

Answer / 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

More CGI Perl Interview Questions

What is the closure in PERL?

0 Answers  


What does undef function in perl?

0 Answers  


What is the difference between $array[1] and @array[1]?

1 Answers  


You want to read command-line arguements with perl. How would you do that?

0 Answers  


What is the difference between localtime() and gmtime() functions?

0 Answers  






What are the reasons that cookie server can’t handle multiple connections?

0 Answers  


What is subroutine in perl?

0 Answers  


When does circular reference occur?

0 Answers  


What are arrays in perl?

0 Answers  


Can you add two arrays together?

0 Answers  


What does redo statement do in perl?

0 Answers  


How many loop control keywords are there in perl?

0 Answers  


Categories