3 ms·
Such is the eternal question in Perl. :) Also, sometimes we make classes out of scalars, arrays and globs as well. It was interesting the first time I looked
by kbenson 10y ago
Such is the eternal question in Perl. :)
Also, sometimes we make classes out of scalars, arrays and globs as well. It was interesting the first time I looked into the source of IO::Handle (and IO).
Hmm, I bet there's a module to create classes that uses pack and unpack to store byte level representations in a scalar as the blessed type of a class.