How to install Perl module using CPAN. How to include the module in a program?
Latest Answer: Get in to CPAN shell byPERL -MCPAN -e shellcpan> install "packagename" ...
Please provide me Perl scriptwhich reads the data from xcel sheet and renames the dsx file.Process followed to rename is:make a list of old and new file names in xcel sheet.compare the old file name in
Latest Answer: use Win32::OLE;use Win32::OLE::Enum;use Win32::OLE qw(in with);use Win32::OLE::Const 'Microsoft Excel';use Win32::OLE::Variant;use Spreadsheet::ParseExcel;use Spreadsheet::WriteExcel;use Spreadsheet::ParseExcel::SaveParser;use strict;$Win32::OLE::Warn ...
Latest Answer: * Object Oriented means programme will be their in terms of Class and Object relationship will be their.* Structured Oriented Means programme will be their in terms of multiple Functions. ...
What is the Use of Symbolic Reference in PERL?
Latest Answer: > $name = "bam";> $$name = 1; # Sets $bam> ${$name} = 2; # Sets $bam> ${$name x 2} = 3; # Sets $bambam> $name->[0] = 4; # Sets $bam[0]symbolic reference means using a string as a reference. ...
What is Symbol table and how it Works?
Latest Answer: Symbol table is a PERL structure which contains the identifier names(like 'variable'). The identifier became actual variable ($variable,@variable etc)Â type when it associate through typeglob.Symbol table contains only global variables. ...
How to find out whether reference is pointing to a scalar, array or hash?
Latest Answer: You can use ref function. ...
You have unsorted array of strings, like:my @arr = qw(hello World Show must go on);Print this array, sorted in reversed case-insensitive order.
Latest Answer: my @arr = qw(hello World Show must go on);#close print "@arr nreverse sorted: ", join(", ", reverse sort map {lc $_} @arr), "n"; #closer print "@arr nreverse sorted: ", join(", ", ...
Latest Answer: Perl programs are generally used for: - text processsing - text mining - test automation - simple network programming (simple sockets, just fetching webpage and parsing it) - GUI development with Perl/Tk If ...
Suppose you run a program/script in Perl:system("./server ....");How will you check the return code?
Latest Answer: $r = system("command .. e.g. search");print"r is $rn";Here, if $r is 0, that means command has executed successfully.Any other value means command has failed. ...
Latest Answer: $arr= [1, 2,2+1 ,3+1];print "n arr[1]=|".$arr->[1]."|".$$arr[1]."|"; ...
View page [1] 2 3 4 5 6 7 Next >>

Go Top