At 02:34 -0500 13/01/2011, shawn wilson wrote:
I dig what you're saying about always using return. However I don't (have never used / seen) a case where a sub returns last expression. An example maybe?
#!/usr/local/bin/perl
use strict;
use feature qw(say);
say &SUB();
sub SUB {
my $word = "My word!";
}
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
