On Wednesday, May 29, 2002, at 09:06 , Jackson, Harry wrote:
>> -----Original Message----- >> From: F.Xavier Noria [mailto:[EMAIL PROTECTED]] >> >> What would be the shortest code that leak? > > Its not really the length as much as the width of the whole that causes a > leak. well you could write a self referential function sub sillyMe { my ($arg ) = @_ my $value = $arg + time + 1; sillyMe($value); } sillyMe(1); that wouldn't really 'leak' but it would buy you a stack frame for each call - and some arguments each time through until you ran out of heap.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]