What elements of the Perl language could you use to
structure your code to allow for maximum re-use and maximum
readability?
Answer / sagar girase
the element is keyword "sub"
means write the subroutines,
which allow maximum readability
and allow maximum-reuse
if want any other;
write the classes and package..
| Is This Answer Correct ? | 12 Yes | 0 No |
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What rules must be followed by modules in perl.
What is the difference between use and require in perl?
Why aren't Perl's patterns regular expressions?
How interpreter is used in perl?
What does delete function do in perl?
What does redo statement do in perl?
What is perl? What is the basic command to print a string in perl?
What does undef function in perl?
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.
Write a program to decode the data in the form using cgi programming
How to create a directory in perl?