git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Perl gurus: why do we need Scalar::Util?

From
Petr Baudis <pasky@suse.cz>
Date
Jul 10, 2006, 14:29 UTC
Message-ID
<20060710142916.GX29115@pasky.or.cz>
In-Reply-To
<86k66lsi5q.fsf@blue.stonehenge.com>

Dear diary, on Mon, Jul 10, 2006 at 03:28:49PM CEST, I got a letter where "Randal L. Schwartz" <merlyn@stonehenge.com> said that...

> While that syntax looks like it would make things easier in theory, in
> practice it is a source of leak-after-leak because it creates a closure for
> the two blocks, and that can easily lead to a circular reference for
> long-running tools.

Care to elaborate, please? All I've found are several mentions that the problem is there, but not what the problem actually is and it doesn't occur to me why is it a problem.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
Previous: Randal L. Schwartz
Message 10 of 10 in “Perl gurus: why do we need Scalar::Util?”
  1. Johannes SchindelinJul 10, 2006
  2. Petr BaudisJul 10, 2006
  3. Eliminate Scalar::Util usage from private-Error.pmPetr Baudis, Jul 11, 2006
  4. Randal L. SchwartzJul 11, 2006
  5. Randal L. SchwartzJul 11, 2006
  6. Randal L. SchwartzJul 11, 2006
  7. Junio C HamanoJul 11, 2006
  8. Randal L. SchwartzJul 11, 2006
  9. Randal L. SchwartzJul 10, 2006
  10. Petr BaudisJul 10, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.