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


Please Help Members By Posting Answers For Below Questions

What are the options that can be used to avoid logic errors in perl?

516


What is the purpose of goto expr statement?

474


What are perl variables?

524


How many ways can we express string in Perl?

537


Explain the functioning of conditional structures in perl.

461






how to get back up from private character editor which is saved in the format of .udf

1845


Write a program to decode the data in the form using cgi programming

541


what is the function of Return Value?

561


How does a “grep” function perform?

595


Is perl a case sensitive language?

634


Explain arrays in perl.

516


Differentiate between c++ and perl.

597


You want to connect to sql server through perl. How would you do that?

540


What is perl I used for?

527


What is 'rollback' command in perl?

545