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 are scalar data and scalar variables?

0 Answers  


what are steps to do to lock the sony ericsson mobile with password?

0 Answers  


How do I sort a hash by the hash value?

0 Answers  


In CPAN module, name an instance you use.

0 Answers  


What are the logical operators used for small scale operations?

0 Answers  






Can you add two arrays together?

0 Answers  


Explain perl one-liner?

0 Answers  


Explain chomp?

0 Answers  


Why we use "use lib $path"?

1 Answers  


What are the various file operations in perl. Explain with example.

0 Answers  


what is perl language?

0 Answers  


How does polymorphism work in perl? Give an example.

0 Answers  


Categories