X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FDeclare.pm;h=100e14b3593ccbafe618876d91d1c57813271fa1;hb=31ba1ad785c45e8e522ab0a2e1b790588f9bcff8;hp=6b64ccc5c3998caf80b5f77c71acf9407e4e67b1;hpb=8ec78a85abda5a1bab263a1b1b49b979a3539c29;p=p5sagit%2FDevel-Declare.git diff --git a/lib/Devel/Declare.pm b/lib/Devel/Declare.pm index 6b64ccc..100e14b 100644 --- a/lib/Devel/Declare.pm +++ b/lib/Devel/Declare.pm @@ -1,10 +1,11 @@ package Devel::Declare; +# ABSTRACT: Adding keywords to perl, in perl use strict; use warnings; use 5.008001; -our $VERSION = '0.006006'; +our $VERSION = '0.006017'; use constant DECLARE_NAME => 1; use constant DECLARE_PROTO => 2; @@ -471,6 +472,10 @@ This builtin returns the full text of the current line of the source document. =head4 C This builtin sets the full text of the current line of the source document. +Beware that injecting a newline into the middle of the line is likely +to fail in surprising ways. Generally, Perl's parser can rely on the +`current line' actually being only a single line. Use other kinds of +whitespace instead, in the code that you inject. =head3 C