Tie
Learn about the tying process in Perl.
We'll cover the following...
Overview
Where overloading allows us to customize the behavior of classes and objects for specific types of coercion, a mechanism called tying allows us to customize the behavior of primitive variables (scalars,
arrays, hashes, and filehandles). Any operation we might perform on a tied variable translates to a specific method call on an object.
Access this course and 1400+ top-rated courses and projects.