[EMAIL PROTECTED] asked;
> How is it possible to initialize variable using 0 or '' and
> not having undef warning later on using them?
my $variable = 0; # <= initial value goes here
HTH,
Thomas
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
On Mon, Mar 17, 2008 at 6:51 AM, <[EMAIL PROTECTED]> wrote:
> How is it possible to initialize variable using 0 or '' and not having
> undef warning later on using them?
snip
Well, you can say
my $var = 0;
but that doesn't prevent the variable from being set to undef later,
so if it is possibl
On Mar 17, 2008, at 11:51 , [EMAIL PROTECTED] wrote:
How is it possible to initialize variable using 0 or '' and not having
undef warning later on using them?
Not reassigning to undef.
-- fxn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
htt