in reply to Re: Re: Re: Scope and Context
in thread Scope and Context
Which has the advantage of keeping the subroutine private.BEGIN { my $get_regexes = sub { ... return map {...} }; ... }
Oh yes, don't forget that in recent perl you can do open my $fh, ..., which is far nicer than
local *FH; open FH, ...
|
---|