Is there a simple way to find out how a scalar is being stored internally? If I recall correctly, all values used to be stored as strings, but at least in Perl 5, there is a distinction between integer, floating point, and regular string scalars.
For example, how are the following stored:
my @foo = (1, 2.345, "sixseven");
This is kind of a nitty-gritty thing which you're not supposed to care about, right?