How will you declare a variable in perl?



How will you declare a variable in perl?..

Answer / Priyanka Saxena

In Perl, you can declare a variable by using the dollar sign ($) followed by the name of the variable. For example: $variableName

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

How interpreter is used in perl?

1 Answers  


How will you declare a variable in perl?

1 Answers  


What is the purpose of _package_ literal?

1 Answers  


Give an example of the -i and 0s option usage.

1 Answers  


How to read multi lines from a file in perl?

1 Answers  


What is perl? What is the basic command to print a string in perl?

0 Answers  


If you want to empty an array then how would you do that?

1 Answers  


How to find out the version of PERL being installed on your LINUX machine.

4 Answers   Mind Tree,


Which functions in Perl allows you to include a module file or a module and what is the difference between them?

1 Answers  


How to read a file into a hash array?

1 Answers  


What?s your favorite module and why?

3 Answers  


What are the steps involved in configuring a server using cgi programming?

1 Answers  


Categories