How to install Perl module using CPAN. How to include the module in a program?
Latest Answer: Try this command from DOX or UNIX Prompt. You will get a CPAN Prompt. To install a module use install modulename.perl -MCPAN -e shellHope this help. ...
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
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: The symbol table is the list of active symbols (functions, variables, objects) within a package. Each package has its own symbol table, and with some exceptions, all the identifiers starting with letters or underscores are stored within the corresponding ...
How to find out whether reference is pointing to a scalar, array or hash?
Latest Answer: With 'ref' keyword we can find the data type of the variable. ...
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: @x=qw(A d E f B c x Y);print "Original arrayn";print join(',',@x),"n";print "Original array sorted in reverse order case insensitiven";print join(',',sort {"L$b" cmp "L$a"} @x),"n"; ...
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: # Retrieve the higher byte of the two-byte return codemy $ret = system("./server") >> 8; ...
Latest Answer: Arrow operator -> is used for deferencing references to array or hash.$arr = ['1','2','3','4'];To retrive the value of first element :$val = $arr->[1];Now variable $var will contain '2'. ...
View page [1] 2 3 4 5 6 7 Next >>

Go Top