in reply to How can I create an anonymous scalar?

$sref = \"Hello World";
or
$sref = \( ...something yielding a scalar value...);

should give you an anonymous scalar ref

$variableRef1 = \[ $variable ]->[ 0 ];
is just ugly... :)

                - Ant