Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

CGI Perl Interview Questions
Questions Answers Views Company eMail

How do you debug a Perl scripting ( at the compile time error or run time error) in Unix environment ?

4 9670

how to search a unique pattern in a file by using perl hash map function ??? plz answer me

2 7842

how to install a package in perl ????

2 5858

How to count no of occurrence of a unique patterns in perl?

Ness Technologies,

4 15382

what is the difference between require and use in perl?

IBM,

3 10324

what is the difference b/w coldfusion MX 6 and Coldfusion MX 7?

1 4747

Which web site will help the student to download the Java mini Project ?

3 4490

while(my($key, $value) = each(%hash) ) { print "$key => $value\n"; } my($key, $value); while(($key, $value) = each(%hash) ) { print "$key => $value\n"; } What is the different between these two code in case of "my" usage ?

1 5169

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?

A1 Technology,

1 3966

What is the difference between $array[1] and @array[1]?

1 4729

How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?

2968

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 4257

Consider the following example #! /bin/perl use strict; sub sample { my @arr=(1,2,3,4); return @arr; } my ($a,$b,$c,$d) = &sample; print "$a\n$b\n$c\n$d\n"; In the above code, How can I get the $c without using the arguments such as $a,$b. I don't want to use any array to get the return values.

2 4168

package MYCALC; use Exporter; our @EXPORT = (); our @ISA = qw(Exporter); our @EXPORT_OK = qw(addition multi); our %EXPORT_TAGS = (DEFAULT => [qw(&addition)],Both => [qw(&addition & +multi)]); sub addition { return $_[0] + $_[1]; } sub multi { return $_[0] * $_[1]; } 1; Program: use strict; use warnings; my @list = qw (2 2); use Module qw(:DEFAULT); print addition(@list),"\n"; Above coding is my module MYCALC and the program which using this module, I have not exported any function using @EXPORT, but I have used the DEFAULT in %EXPORT_TAGS with the function addition, when I call this function from the main it says the error as,

2736

write a script to check whether user enter a value is a leap year or not?

Oracle, Persistent, ViPrak,

3 15844


Post New CGI Perl Questions

Un-Answered Questions { CGI Perl }

How to check the status of airplane mode (enable/disable) in perl for Android mobile?

3137


How does a “grep” function perform?

1103


Write a program that shows the distinction between child and parent process?

987


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

942


How to copy a file in perl?

1057


Explain regular expression in perl?

1018


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

1008


Explain what is the scalar data and scalar variables in Perl?

988


Mention what is cpan?

1084


What does cgi program store?

963


what is the function of Return Value?

1126


What is the use of 'ne' operator?

1060


Explain what is lvalue?

1074


What are arrays in perl?

1022


What are some common methods to all handles in perl?

981