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...

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

Answer Posted / shashi

Just write perl -v

it will display the version:

This is perl, v5.8.5 built.........

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of 'ne' operator?

943


Show the use of sockets for the server and client side of a conversation?

835


What is q (single q) operator in perl?

1029


What is perl I used for?

913


What does init 5 and init 0 do?

960


How can you define “my” variables scope in Perl and how it is different from “local” variable scope?

1060


What is the purpose of “_file_ literal” and “_line_ literal” in perl?

874


How do I do fill_in_the_blank for each file in a directory?

917


What is perl scripting?

883


Is perl compiler or interpreter?

895


What is -> symbol in perl?

964


Differentiate use and require?

891


“The methods defined in the parent class will always override the methods defined in the base class”. What does this statement means?

962


Can inheritance be used in perl? Explain with the help of an example.

914


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,

2628