http://www.perlmonks.org?node_id=988358

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

$! acts like both a string or an integer depending upon context.

Can I create my own variables that do the same? How?