Thread Bestimmte Variablen auslagern in eine Datei
(6 answers)
Opened by leissi at 2007-03-22 15:56
[quote=Froschpopo,22.03.2007, 23:01]
Code: (dl
)
1 open CONFIG, "main.cfg" or die $!; Das ist unbrauchbar! 1. Syntaxfehler bei split() 2. Kommentare werden nicht richitg behandelt 3. Keine Sektionen, Strukturen moeglich 4. CONFIG wird nicht geschlossen use CPAN::Modules; ! main.cfg # comment name = froschpopo # comment $VAR1 = { '# comment' => undef, 'name' => 'froschpopo # comment' };\n\n <!--EDIT|opi|1174640269--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |