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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/