in reply to Re^2: need help to fix "use of uninitialized value..."
in thread need help to fix "use of uninitialized value..."
You are confirming what I suspected...And I understand what you are saying... The only problem is that I tried your code and it doesn't seem to give the expected result
#!/usr/bin/perl use warnings; use strict; my $foo = undef; my $bar = 'bar'; $foo = $foo . $bar; # UNITIALIZED!!! print "foo = <$foo>\n";
prints: foo = <bar>
So thanks for the help though, It still help's me understand what is happening.
|
|---|