Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Perl Programmers Don't Die...

by japhy (Canon)
on Jul 10, 2001 at 17:25 UTC ( #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

Comment on Perl Programmers Don't Die...
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 (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 $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 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.

      Did you mean that they die, not Die?

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 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 :)

        Ruby is interesting to play with, but even today, 6 years later, the document really sucks. I won't make any serious attemp simply because of its poor document.

      It takes a great guy to realize this 6 years ago.

Log In?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-08-22 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (158 votes), past polls