in reply to Re: (ar0n) Re: I've never seen this syntax before
in thread I've never seen this syntax before
No necessarily useless... the last line of a subroutine becomes its return value if none is specified explicitly... so:
<CODE>
sub foo {
1;
}
#and
sub foo2 {
return 1;
}
both return 1
- Ant