aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-namespace-sweep/pkg-descr
blob: 792d2700cd8cc119753a47b5c7e7ec366c84af96 (plain) (blame)
1
2
3
4
5
6
7
8
9
Because Perl methods are just regular subroutines, it's difficult to
tell what's a method and what's just an imported function. As a result,
imported functions can be called as methods on your objects. This pragma
will delete imported functions from your class's symbol table, thereby
ensuring that your interface is as you specified it. However, code
inside your module will still be able to use the imported functions
without any problems.

WWW: https://metacpan.org/release/namespace-sweep