Suchergebnisse mit Tag „reference“

TOP

DESTROY or __DIE__ - choose one

Some people always complain, even about the language they've been working with for years while they has other options. One of them recently complained that Perl cleans up objects in unpredictable order during global destruction (after exit; and all END blocks). Here is what happend, how we tracked it down and solved it.
Weiterlesen
TOP

Can't call method on unblessed reference - but why?

OOP in Perl is pretty simple: Every reference may become an object. But trying to use a reference instead of an object for an OOP call results in Can't call method on unblessed reference.

Weiterlesen