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?s your favorite module and why?

3 Answers  


What are different data types that perl supports. Elaborate on them.

0 Answers  


What are hashes?

0 Answers  


What are the features of perl language?

0 Answers  


Explain USE and REQUIREMENT statements?

0 Answers  






What is the difference between for & foreach, exec & system?

9 Answers   Photon, Wipro,


Explain lexical variables.

0 Answers  


What is 'commit' command in perl?

0 Answers  


How will you access an element of a perl array?

0 Answers  


Differentiate between c++ and perl.

0 Answers  


What are the different ways to run cgi?

0 Answers  


What is the difference between use and require in perl programming?

0 Answers  


Categories