Suchergebnisse mit Tag „oop“

TOP

Passing arguments

Many functions, methods or subs (no matter how you call them) need some arguments. In Perl TIMTOWTDI, but some are faster than others. I'll compare eight ways to get arguments passed to a sub.

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