![]() |
![]() |
9 Einträge, 1 Seite |
$A:xFALSCH = "ohoh";
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(reneeb) Thu Aug 18 10:04:55 [-bash]
~/entwicklung 202> cat >testA.pl
#!/usr/bin/perl
use strict;
use warnings;
use lib qw(.);
use A;
print $A::x,"\n";
$A::xFALSCH = "ohoh";
print $A::xFALSCH;
(reneeb) Thu Aug 18 10:04:55 [-bash]
~/entwicklung 202> cat >A.pm
package A;
use strict;
our $x = 99;
1;
(reneeb) Thu Aug 18 10:05:29 [-bash]
~/entwicklung 203> perl testA.pl
99
ohoh
![]() |
![]() |
9 Einträge, 1 Seite |