aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CLASS/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-CLASS/pkg-descr')
-rw-r--r--devel/p5-CLASS/pkg-descr9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/p5-CLASS/pkg-descr b/devel/p5-CLASS/pkg-descr
new file mode 100644
index 000000000000..cea0fdace4fd
--- /dev/null
+++ b/devel/p5-CLASS/pkg-descr
@@ -0,0 +1,9 @@
+CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type.
+
+$CLASS has the additional benefit of working in strings.
+
+CLASS is a constant, not a subroutine call. $CLASS is a plain
+variable, it is not tied. There is no performance loss for using CLASS
+over __PACKAGE__ except the loading of the module.
+
+WWW: http://search.cpan.org/dist/CLASS/