Leser: 1
|< 1 2 3 >| | 24 Einträge, 3 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package Lib::Vars;
use strict;
use vars qw/@ISA @EXPORT $VERSION/;
require Exporter;
require SelfLoader;
$VERSION = 1.00;
@ISA = qw/Exporter SelfLoader/;
use constant CONST1 => 1;
use constant CONST2 => 2;
use constant CONST3 => 3;
use constant CONST4 => 4;
1;
QuoteCan't locate Vars.pm in @INC (@INC contains: F:/Perl/lib F:/Perl/site/lib .) at H:\Eigene Dateie
n\Entwicklung\Webdesign\YourNation.de\setup.pl line 9.
BEGIN failed--compilation aborted at H:\Eigene Dateien\Entwicklung\Webdesign\YourNation.de\setup.pl
line 9.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
package Lib::Vars;
use constant HI => "HO";
package main;
use vars qw/ $AUTOLOAD /;
print "HI", &HI, "\n";;
sub AUTOLOAD {
my $sub = $AUTOLOAD;
$sub =~ s/\w*::(\w*?)$/$1/;
$sub = "Lib::Vars::$sub";
goto &$sub;
}
|< 1 2 3 >| | 24 Einträge, 3 Seiten |