1. print "$]\n"; ==>> Gives you perl version
2. perl -v ==> Typeing this on terminal will also gives you perl version being used
2. use $version = 5.008008
require $version
my $company = "Interrasystems";
print "${company}\n"; ==> #USe this format to print comapny name rather $company
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
2. perl -v ==> Typeing this on terminal will also gives you perl version being used
2. use $version = 5.008008
require $version
my $company = "Interrasystems";
print "${company}\n"; ==> #USe this format to print comapny name rather $company
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
No comments:
Post a Comment