NAME
Scalar::DualVar - Create dual type variables
SYNOPSIS
use Scalar::DualVar qw(dualvar);
$foo = dualvar 10, "Hello";
$num = $foo + 2; # 12
$str = $foo . " world"; # Hello world
DESCRIPTION
Scalar::DualVar
exports one function c<dualvar> which allows the caller to create a variable that has different numeric and string values.
COPYRIGHT
Copyright (c) 1997-1999 Graham Barr <gbarr@pobox.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.