On Fri, Mar 6, 2009 at 6:47 PM, sawyer x wrote:
> The problem with putting the subroutines at the end is that it makes
> the previous variables in the code apparent to that subroutine. It's
> not lexically correct and provides an unclean environment for the
> subroutine.
>

As long as you always use only "my" variables defined inside the
subroutine, this should not be a problem.

-- 
Offer Kaye
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to