Re: [perl #36620] Bug in editor/ops2vim.pl

1 view
Skip to first unread message

Jerry Gay

unread,
Jul 21, 2005, 2:41:06 PM7/21/05
to perl6-i...@perl.org
actually, it should be
while(<>) {

applied, thanks.

On 7/21/05, via RT Amir Karger <parrotbug...@parrotcode.org> wrote:
> # New Ticket Created by Amir Karger
> # Please include the string: [perl #36620]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36620 >
>
>
> editor/ops2vim.pl says:
>
> while (<@ARGV>) {
>
> AFAIK, that should be
>
> while (<ARGV>) {
>
> I'm running perl 5.8.6. Using ops2vim.pl that came with parrot-0.2.2, I got
> just one (broken) line out of the script. Removing the @ makes it work fine.
>
> -Amir Karger
>

Amir Karger

unread,
Jul 21, 2005, 12:51:44 PM7/21/05
to bugs-bi...@rt.perl.org

Amir Karger

unread,
Jul 21, 2005, 2:46:08 PM7/21/05
to parrotbug...@parrotcode.org
Oops, you'r right. perldoc perlop says <ARGV> is a nickname for <>, but it's
not as magical.

> -----Original Message-----
> From: jerry gay via RT [mailto:parrotbug...@parrotcode.org]
> Sent: Thursday, July 21, 2005 2:42 PM
> To: aka...@CGR.Harvard.edu
> Subject: Re: [perl #36620] Bug in editor/ops2vim.pl
>
> actually, it should be
> while(<>) {
>
> applied, thanks.
>
> On 7/21/05, via RT Amir Karger
> <parrotbug...@parrotcode.org> wrote:

Reply all
Reply to author
Forward
0 new messages