Thread strict und my (52 answers)
Opened by jan10001 at 2003-10-05 22:02

Strat
 2003-10-06 03:12
#61245 #61245
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
Nicht arbeiten?
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
C:\>perl
use strict;
use warnings;
my $x = 2;
my $test = 123 if $x;
print $test;
^Z
123
C:\>perl
use strict;
use warnings;
my $x = 0;
my $test = 123 if $x;
print $test;
^Z
Use of uninitialized value in print at - line 5.

C:\>
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/

View full thread strict und my