Subject: | Warning at creation of dualvar with undef component |
Date: | Fri, 16 Feb 2007 07:13:52 -0600 |
To: | <bug-Scalar-List-Utils [...] rt.cpan.org> |
From: | "Humann, Wolfram" <wolfram.humann [...] verigy.com> |
Scalar-List-Utils-1.19
I think I should be able to create a dualvar that is partly 'undef'.
E.g.:
Show quoted text
> perl -MScalar::Util=dualvar -we' dualvar 17, undef '
> perl -MScalar::Util=dualvar -we' dualvar undef, "somestring" '
However, in both cases I get a warning:
Show quoted text> Use of uninitialized value in subroutine entry at -e line 1.
If it's a bad idea to do such a thing, it would help if that was
documented.