Thread Export aus Modulen: %EXPORT_TAGS = () ... klappt nicht. (4 answers)
Opened by Matze at 2005-11-04 21:57

pq
 2005-11-05 13:24
#59741 #59741
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
our @EXPORT_OK = qw(fill color title box write);

btw:
require Exporter;
@ISA = qw(Exporter);

schreibt sich viel kürzer als
use base 'Exporter';

ausserdem sei dir die benutzung von strict ans herz gelegt (Wiki:use strict)
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Export aus Modulen: %EXPORT_TAGS = () ... klappt nicht.