Thread Modul-Namespace geändert (9 answers)
Opened by Robse at 2005-08-18 18:07

Robse
 2005-08-18 20:45
#47232 #47232
User since
2005-01-08
22 Artikel
BenutzerIn
[default_avatar]
Habe jetzt mal die Datei /usr/lib/perl5/site_perl/5.8.0/testmod.pm überprüft,
und siehe da, mein source code ist gar nicht mehr drin!
Jetzt steht da
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package testmod;

use 5.008;
use strict;
use warnings;

require Exporter;

our @ISA = qw(Exporter);

# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.

# This allows declaration use testmod ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(

) ] );

our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );

our @EXPORT = qw(

);

our $VERSION = '0.01';


# Preloaded methods go here.

1;

etc..
Wie ist das denn passiert?
Das original Modul (mysqldb vom 1. Post) wurde jedenfalls nicht verändert.

View full thread Modul-Namespace geändert