Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Use of English pragma

5 views
Skip to first unread message

James E Keenan

unread,
Apr 4, 2007, 10:41:16 PM4/4/07
to perl6-i...@perl.org
In the course of refactoring Configure.pl, I notice that it uses one of
the $ENGLISH variables -- $OUTPUT_AUTOFLUSH.

Does Parrot have any policy one way or the other on use of these
variables as opposed to their "punctuation variables" equivalents?

For reference: Here's the ack:


[latest] 538 $ ack no_match_vars
config/gen/platform.pm
22:use English qw( -no_match_vars );

Configure.pl
262:use English qw( -no_match_vars );

t/distro/test_file_coverage.t
10:use English qw( -no_match_vars );

t/harness
94:use English qw( -no_match_vars );


kid51

Jerry Gay

unread,
Apr 5, 2007, 1:35:50 AM4/5/07
to James E Keenan, perl6-i...@perl.org
On 4/4/07, James E Keenan <jkeen_vi...@yahoo.com> wrote:
> In the course of refactoring Configure.pl, I notice that it uses one of
> the $ENGLISH variables -- $OUTPUT_AUTOFLUSH.
>
> Does Parrot have any policy one way or the other on use of these
> variables as opposed to their "punctuation variables" equivalents?
>
> For reference: Here's the ack:
>
developers shouldn't live in fear of $^O

i think of English as a module for beginners--especially those
familiar with awk. i don't encourage programming in an awk dialect on
this project, and i don't encourage programming at the beginner level
on this project, either. count me as against English.
~jerry

Leopold Toetsch

unread,
Apr 5, 2007, 6:50:13 PM4/5/07
to perl6-i...@perl.org, jerry gay, James E Keenan
Am Donnerstag, 5. April 2007 07:35 schrieb jerry gay:
> developers shouldn't live in fear of $^O

And the docs for some such are not far away:
$ perldoc perlvar
/\$\^O

leo - yes, typing this needs escaping, but you knew that already - it's
Perl ;)

James E Keenan

unread,
Apr 5, 2007, 8:09:10 PM4/5/07
to perl6-i...@perl.org, Leopold Toetsch, perl6-i...@perl.org, jerry gay
Leopold Toetsch wrote:
> Am Donnerstag, 5. April 2007 07:35 schrieb jerry gay:
>
>>developers shouldn't live in fear of $^O
>
>
> And the docs for some such are not far away:
> $ perldoc perlvar
> /\$\^O
>


Okay, then I'll convert to regular variable in Configure.pl in the
course of refactoring. And then have some of our Phalanx Phoenix Parrot
newbies convert the other files as time permits.

kid51

James Keenan

unread,
Apr 6, 2007, 11:28:25 PM4/6/07
to bugs-bi...@rt.perl.org
# New Ticket Created by James Keenan
# Please include the string: [perl #42333]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42333 >

Task: Eliminate use of English pragma in these locations:

James E Keenan

unread,
Apr 6, 2007, 11:27:40 PM4/6/07
to parr...@parrotcode.org, perl6-i...@perl.org

Task: Eliminate use of English pragma in these locations:

[latest] 538 $ ack no_match_vars

James Keenan via RT

unread,
Apr 7, 2007, 10:08:12 PM4/7/07
to perl6-i...@perl.org
Applied to trunk in r18033. Thanks, Shawn!

James Keenan via RT

unread,
Apr 7, 2007, 10:53:53 PM4/7/07
to perl6-i...@perl.org
Closing ticket.
0 new messages