|< 1 2 3 >| | 26 Einträge, 3 Seiten |
1
2
3
4
5
6
7
8
use strict;
use warnings;
our $stuff .= 0;
BEGIN { $main::stuff = 1; }
print "$stuff\n";
_ _ END _ _
10
1
2
3
4
5
6
7
8
use strict;
use warnings;
my $stuff = undef;
BEGIN { $stuff = 1; }
print "$stuff\n";
_ _ END_ _
Use of uninitialized value in concatenation (.) or string at test.pl line 6.
1
2
3
4
5
6
7
8
$ cat >test.pl
use strict;
use warnings;
my $stuff = undef;
BEGIN { $stuff = 1; }
print "$stuff\n";
$ perl test.pl
1
|< 1 2 3 >| | 26 Einträge, 3 Seiten |