Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the File-Next CPAN distribution.

Report information
The Basics
Id: 20998
Status: resolved
Priority: 0/
Queue: File-Next

People
Owner: Nobody in particular
Requestors: BORISZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: File::Next -> new
Hi, I really like to call new instead of files as a constructor. I do it always wrong the first time. It whould be nice if you alias files and new. -- Boris
On Di. 15. Aug. 2006, 09:25:22, BORISZ wrote: Show quoted text
> Hi, > > I really like to call new instead of files as a constructor. I do it > always wrong the first time. > It whould be nice if you alias files and new.
# this is my current workaround sub File::Next::new { File::Next::files(@_[1..$#_]) } -- Boris
I'm sorry, but I'm not going to add a new(). There may well be other constructors in the future, and new() would therefore be obsoleted.