in reply to Re: Lexical scoping for filehandles, pre perl 5.8
in thread Lexical scoping for filehandles, pre perl 5.8

That just produces the following error:- Can't modify constant item in local at ... That happpens on v5 and v5.8

Replies are listed 'Best First'.
Re^3: Lexical scoping for filehandles, pre perl 5.8
by phl.jns (Novice) on Oct 23, 2008 at 11:20 UTC
    fixed now! Had put an asterisk in front of the filehandle name:-
    local *HANDLE
    Thanks, Phil