Author: wayland Date: 2009-02-24 01:42:31 +0100 (Tue, 24 Feb 2009) New Revision: 25507
Added: docs/Perl6/Spec/S31-pragmatic-modules.pod Log: S31: Collected the pragmata from everywhere, and listed them here with cross-references Added: docs/Perl6/Spec/S31-pragmatic-modules.pod =================================================================== --- docs/Perl6/Spec/S31-pragmatic-modules.pod (rev 0) +++ docs/Perl6/Spec/S31-pragmatic-modules.pod 2009-02-24 00:42:31 UTC (rev 25507) @@ -0,0 +1,77 @@ +=encoding utf8 + +=head1 Title + +[DRAFT] Synopsis 31: Pragmatic Modules + +=head1 Version + + Author: Tim Nelson <wayl...@wayland.id.au> + Maintainer: Larry Wall <la...@wall.org> + Contributions: + Date: 24 Feb 2009 + Last Modified: 24 Feb 2009 + Version: 1 + +The document is a draft. + +If you read the HTML version, it is generated from the pod in the pugs +repository under /docs/Perl6/Spec/S31-pragmatic-modules.pod so edit it there in +the SVN repository if you would like to make changes. + +=head1 Overview + +It is a general policy in PerlĀ 6 that any pragma designed to influence +the surface behavior of a keyword is identical to the keyword itself, unless +there is good reason to do otherwise. On the other hand, pragmas designed +to influence deep semantics should not be named identically, though of +course some similarity is good. + +All floating point IEEE modes must be lexically available via pragma except in cases +where that would entail heroic efforts to bypass a braindead platform. + +XXX FIX: I (Tim Nelson) have no clue as to what the above entails, so the spec does not +reflect this XXX + +=head1 Pragmata + +=over + +=item use autoindex -- see S09-data.pod + +=item use bytes -- see S05-regex.pod + +=item use chars -- see S05-regex.pod + +=item use codes -- see S05-regex.pod + +=item use graphs -- see S05-regex.pod + +=item use m :foo -- see S05-regex.pod + +=item use MONKEY_PATCHING -- see S12-objects.pod + +=item use PDL -- see S09-data.pod + +=item use regex :foo -- see S05-regex.pod + +=item use rule :foo -- see S05-regex.pod + +=item use rx :foo -- see S05-regex.pod + +=item use s :foo -- see S05-regex.pod + +=item use self -- see S06-routines.pod + +=item use token :foo -- see S05-regex.pod + +=item use oo :closed :final -- see S12-objects.pod + +=back + +=head1 Additions + +Please post errors and feedback to perl6-language. If you are making +a general laundry list, please separate messages by topic. + +