Thread do $file : subs in $file überschreiben meine subs!
(7 answers)
Opened by sman at 2010-01-10 18:19
nachtrag: Anderes.pm sähe dann so aus:
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 package Anderes; use strict; use warnings; sub machwas { # tue das, was vorher in anderes.pl stand } 1; Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |