|
|
Using a Function in Perl - Perl
|
Views : 244
|
|
Tagged in : Perl
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Using a Function in Perl
You call a subroutine by using the subroutine name followed by '( )'s. Examples...
subname();
$a = 3 + subname();
for ( $x = subname1(); $x < subname2(); $x += subname3() ) {
statements;
} |
|
By Geethalakshmi, On - 2010-09-17 |
|
|
|