Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Re: Re: Re: undefining hashes to free memory

by tigervamp (Friar)
on Mar 15, 2004 at 22:26 UTC ( #336867=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: undefining hashes to free memory
in thread undefining hashes to free memory

Okay, I understand what you are saying now, but this doesn't seem like a very good thing, especially in an anonymous block (which isn't what I'm using in the actual program but it's still not very smart).
  • Comment on Re: Re: Re: Re: undefining hashes to free memory

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: undefining hashes to free memory
by tilly (Archbishop) on Mar 20, 2004 at 03:13 UTC
    It is very much not a good thing, especially when Perl forgets to reinitialize that memory as happens with the infamous my $foo if cond(); bug when the condition is false.

    <gripe>Which would have triggered a warning in Perl 5.10, but p5p in its infinite wisdom decided that there would be too many real bugs reported, and therefore will only report a warning in the case where the author probably intended the odd behaviour.</gripe>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://336867]
[Corion]: GotToBTru: Heh ;) I'm not really endorsing it, as I found that any gains made through it are easily squandered by the hours spent on configuring it. At least in my case :)
[GotToBTru]: Like most Swiss Army Knives, you can cut yourself trying to find the blade you actually want
[GotToBTru]: i am satisfied with the default settings turning the seemingly random formatting into something reliable
[Corion]: GotToBTru: Yeah, I started a quick(ly implemented but slowly running) implementation of a program that would guess the "best" configuration (that is, least amount of changes) from my code, but then found that it stops parsing the source as soon as it ..
[GotToBTru]: sadly, it can't do anything about this
[Corion]: ... encounters sub foo($bar,$baz) {, which is something I like nowadays
[Corion]: GotToBTru: Yeah, that stuff is hard to do away automatically ;)
[GotToBTru]: yeah, you mentioned it could not handle signatures

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-02-27 14:32 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (387 votes). Check out past polls.