Thread probl. mit config::tiny: need help (24 answers)
Opened by Rambo at 2004-07-10 20:46

Rambo
 2004-07-10 20:46
#84127 #84127
User since
2003-08-14
803 Artikel
BenutzerIn

user image
hallo,
ich habe folgendes script
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use Config::Tiny;
my $Session = 'W25376';
my $Configfile = "t1.cfg";
my $Config = Config::Tiny->read( '$Configfile' );
my $Name = $Config->{$Session}->{SESSIONNAME};
my $RID = $Config->{"$Session"}->{RID};
my $SID = $Config->{"$Session"}->{SID};
my $GATEWAY = $Config->{"$Session"}->{GATEWAY};
print "$Name\n";
print "$RID\n";
print "$SID\n";
print "$GATEWAY\n";


die t1.cfg sieht so aus

[W25376]
SESSIONNAME = W25376
GATEWAY = 57.20.98.116
RID = 0x21
SID = 0x58

ich find den fehler einfach nicht warum es nicht geht

bitte um hilfe

rambo

View full thread probl. mit config::tiny: need help