Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Perl Programmers Don't Die...

by japhy (Canon)
on Jul 10, 2001 at 17:25 UTC ( [id://95295]=perlmeditation: print w/replies, xml ) Need Help??

  • they get DESTROYed
  • their refcount drops to 0
  • they get collected
  • they just refer to something else
  • they just warn
  • if they're in an eval
  • they croak
  • ...


japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re (tilly) 1: Perl Programmers Don't Die...
by tilly (Archbishop) on Jul 10, 2001 at 17:29 UTC
    They form a circular self-reference and so continue to exist forever, but become inaccessible.

    There are debates about whether the next version of Perl should able to eliminate them properly with a garbage collector, but that is still the subject of discussion.

Re: Perl Programmers Don't Die...
by converter (Priest) on Jul 10, 2001 at 17:29 UTC

    and as someone on DALnet #perl said the other day: the good ones confess.

Re: Perl Programmers Don't Die...
by $code or die (Deacon) on Jul 10, 2001 at 18:47 UTC


    Error: Keyboard not attached. Press F1 to continue.
Re: Perl Programmers Don't Die...
by lshatzer (Friar) on Jul 10, 2001 at 19:08 UTC
    • they go out of scope
    • they get stuck in an infinate loop
    • they get undefed.
Re: Perl Programmers Don't Die...
by chromatic (Archbishop) on Jul 10, 2001 at 22:40 UTC
    • they get dumped and hope someone remembers the reverse.
    • they accidentally get stringified and can't be restored.
    • they're obfuscated and B::Deparse can't handle it.
    • someone enables strict and they have to adapt or leave.
    • they're locals and you move away.
    • they're deprecated for the next release.
Re: Perl Programmers Don't Die...
by delegatrix (Scribe) on Jul 10, 2001 at 19:40 UTC

    . . . they just leave the symbol table.

Re: Perl Programmers Don't Die...
by Anonymous Monk on Jul 10, 2001 at 22:25 UTC
    ...because Perl is case-sensitive.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Perl Programmers Don't Die...
by MeowChow (Vicar) on Jul 10, 2001 at 23:01 UTC
    Sure they do...
    #line 666 "work while debugging" die;
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print
Re: Perl Programmers Don't Die...
by Abigail (Deacon) on Jul 11, 2001 at 03:25 UTC
    • ... they just fade to Python

    -- Abigail

      They just, uh, um, I was going to work Ruby in somehow, but nevermind :)
      A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://95295]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-23 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found