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:[EMAIL PROTECTED] 
> Sent: Thursday, July 21, 2005 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [perl #36620] Bug in editor/ops2vim.pl
> 
> actually, it should be 
>     while(<>) {
> 
> applied, thanks.
> 
> On 7/21/05, via RT Amir Karger 
> <[EMAIL PROTECTED]> 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
> >
> 
> 

Reply via email to