Using a Function in Perl - Perl Views : 244
Tagged in : Perl
0 0
Send mail

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



    Login to add Comments .