[svn:parrot] r33129 - trunk

Will Coleda will at coleda.com
Mon Nov 24 13:08:12 UTC 2008


On Mon, Nov 24, 2008 at 12:52 AM,  <allison at cvs.perl.org> wrote:
> Author: allison
> Date: Sun Nov 23 21:52:00 2008
> New Revision: 33129
>
> Modified:
>   trunk/DEPRECATED.pod
>
> Log:
> [cage] Add a deprecation notice for the 'open' opcode mode strings.
>
>
> Modified: trunk/DEPRECATED.pod
> ==============================================================================
> --- trunk/DEPRECATED.pod        (original)
> +++ trunk/DEPRECATED.pod        Sun Nov 23 21:52:00 2008
> @@ -55,6 +55,11 @@
>
>  See RT #58410.
>
> +=item * C<open> opcode mode string [post 0.8.2]
> +
> +The C<open> opcode will change from Perl-style mode-strings to 'r' for read,
> +'w' for write, 'a' for append, and 'p' for pipe.
> +
>  =back
>
>  =head1 Class Features
>

Instead of specifying strings for mode, wouldn't it be more efficient
to have a set of well named int constants instead?

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list