develooper Front page | perl.perl5.porters | Postings from April 2000

Re: [ID 20000410.003] File::Glob qw(:glob) does not work

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
April 28, 2000 08:26
Subject:
Re: [ID 20000410.003] File::Glob qw(:glob) does not work
Message ID:
20000428112711.B1044451@linguist.dartmouth.edu
On Thu, Apr 27, 2000 at 09:34:56PM -0700, Gurusamy Sarathy wrote:
> On Mon, 10 Apr 2000 08:46:09 PDT, Gurusamy Sarathy wrote:
> >On Mon, 10 Apr 2000 08:45:14 +0200, Marc Lehmann wrote:
> >I'd say it was a mistake to have named File::Glob::glob() the same name
> >as a builtin, when it doesn't have the same prototype as that builtin.
> >
> >We should probably rename it and deprecate File::Glob::glob().  Patch
> >welcome.
> 
> FYI, here's that.
> 
> 
> Sarathy
> gsar@activestate.com
> -----------------------------------8<-----------------------------------
> Change 5981 by gsar@auger on 2000/04/28 04:31:31
> 
> 	rename File::Glob::glob() to File::Glob::bsd_glob() to avoid
> 	prototype mismatch with CORE::glob(); update pod and tests to
> 	suit (File::Glob::glob() is still available for backward
> 	compatibility, but should be considered deprecated)
> 

Will this also fix the bug with code like:

<*> & 1
glob('*') + 1

being parsed incorrectly?

Ronald

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About