my $ns = dualvar 42, 'The Answer to Life, the Universe, and Everything'; printf("as number = '%d', as string = '%s'\n", $ns, $ns);
Wow, learnt something new :)
use Scalar::Util "dualvar";
my $que = dualvar 54, 'What do you get when you multiply 6 by 9'; printf("\nas number = '%d', as string = '%s'\n", $que, $que);
I learned that I need to re-read all of Douglas Adams books...
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>