Skip to content

Instantly share code, notes, and snippets.

@masak
Created February 23, 2010 18:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save masak/312499 to your computer and use it in GitHub Desktop.
diff --git a/S12-objects.pod b/S12-objects.pod
index 4a2f16b..21e7777 100644
--- a/S12-objects.pod
+++ b/S12-objects.pod
@@ -190,6 +190,7 @@ anonymous class name if desired:
class {...} # ok
class is Mammal {...} # WRONG
class :: is Mammal {...} # ok
+ anon class is Mammal {...} # also ok
class { is Mammal; ...} # also ok
=head1 Methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment