[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Memory Leak workaround!



At 9:41 pm -0400 15/08/00, Jerry LeVan wrote:

># Bugs: The warn flag generates a number of warnings involving edit and
>focus.

These are from 'MacTextEdit'. The hash key-names need quotes. This is 
more an instance of the -w switch being a nuisance rather than of 
bugs in 'MacTextEdit' I think.

>#       The Dispose code generates a number of:
>#        "Use of uninitialized value during global destruction"
>#        notices.

The only complaints about uninitialised variables I get relate to 
'$infilename' and '$outlilename' if the window is cancelled before 
entering a name in the fields. A tweak to line 31 of 'FilePrompter' 
would fix that. Otherwise I don't get any error notices at all.

>#        I think the MacTE.pm does not hand <cr> properly. If the
>#        purpose of the MacTE.pm module is to simulate one line edit
>#        boxes then the code needs a fix ( cuz <cr>'s are stored ).

Good point. There is some nonsense code in line 112 of MacTE.pm. Add 
'return 1' to that line and it will behave properly. Thanks for 
pointing this out.

Alan Fry

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org