Explain the difference between "my" and "local" variable scope declarations. ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

How to dereference a reference?

0 Answers  


my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?

2 Answers  


What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?

0 Answers  


Give an example of using the -n and -p option.

0 Answers  


How can you replace the characters from a string and save the number of replacements?

0 Answers  


Why should I use the -w argument with my Perl programs?

0 Answers  


I have created a CGI-based page,after entering all the values in to the fields, How to get the output on the web browser using Perl

4 Answers  


Write the program to process a list of numbers.

0 Answers  


What is 'commit' command in perl?

0 Answers  


What is caller function in perl?

1 Answers  


Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?

0 Answers  


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

0 Answers  


Categories