- [0.05]
+ [0.06] Wed Feb 20 15:09:00 CET 2008
+ - Fixed 'uninitialized value in ref-to-glob cast' error
+ if unimport was used before.
+
+ [0.05] Sun Aug 12 18:24:49 CEST 2007
- Minor POD improvements
- -except now accepts a single value too
provides:
namespace::clean:
file: lib/namespace/clean.pm
- version: 0.05
+ version: 0.06
requires:
Filter::EOF: 0.02
Symbol: 0
tests: t/*.t t_author/*.t
-version: 0.05
+version: 0.06
namespace::clean - Keep imports and functions out of your namespace
VERSION
- 0.05
+ 0.06
SYNOPSIS
package Foo;
=head1 VERSION
-0.05
+0.06
=cut
-$VERSION = 0.05;
+$VERSION = 0.06;
$STORAGE_VAR = '__NAMESPACE_CLEAN_STORAGE';
=head1 SYNOPSIS
no strict 'refs';
# keep original value to restore non-code slots
- local *__tmp = *{ ${ "${cleanee}::" }{ $f } };
- delete ${ "${cleanee}::" }{ $f };
+ { no warnings 'uninitialized'; # fix possible unimports
+ local *__tmp = *{ ${ "${cleanee}::" }{ $f } };
+ delete ${ "${cleanee}::" }{ $f };
+ }
SLOT:
# restore non-code slots to symbol