Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

':flock' not recognized unless it's first #7053

Closed
p5pRT opened this issue Jan 20, 2004 · 14 comments
Closed

':flock' not recognized unless it's first #7053

p5pRT opened this issue Jan 20, 2004 · 14 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 20, 2004

Migrated from rt.perl.org#25160 (status was 'resolved')

Searchable as RT25160$

@p5pRT
Copy link
Author

p5pRT commented Jan 20, 2004

From @mjdominus

Created by @mjdominus

  plover% bash-2.04$ perl -le 'use Fcntl "​:flock"; print "OK"'
  OK

  plover% perl -le 'use Fcntl "​:flock", "O_RDONLY"; print "OK"'
  OK
 
  plover% perl -le 'use Fcntl "O_RDONLY", "​:flock"; print "OK"'
  "​:flock" is not exported by the Fcntl module
  Can't continue after import errors at -e line 1
  BEGIN failed--compilation aborted at -e line 1.

Perl Info

Flags:
    category=library
    severity=medium

Site configuration information for perl v5.8.0:

Configured by mjd at Thu Apr 17 11:57:37 EDT 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.2-2, archname=i586-linux
    uname='linux plover.com 2.4.2-2 #1 sun apr 8 19:37:14 edt 2001 i586 unknown '
    config_args='-des'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-81)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.2.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.0:
    /usr/local/lib/perl5/5.8.0/i586-linux
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/i586-linux
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl/5.7.3
    /usr/local/lib/perl5/site_perl/5.7.2
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .


Environment for perl v5.8.0:
    HOME=/home/mjd
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib
    LOGDIR (unset)
    PATH=/home/mjd/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin/X11R6:/usr/local/bin/mh:/data/mysql/bin:/usr/local/bin/pbm:/usr/local/bin/ezmlm:/home/mjd/TPI/bin:/usr/local/teTeX/bin:/usr/local/mysql/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jan 20, 2004

From @steve-m-hay

Mark-Jason Dominus (via RT) wrote​:

   plover% bash\-2\.04$ perl \-le 'use Fcntl "​:flock"; print "OK"'
   OK

   plover% perl \-le 'use Fcntl "​:flock"\, "O\_RDONLY"; print "OK"'
   OK
   
   plover% perl \-le 'use Fcntl "O\_RDONLY"\, "​:flock"; print "OK"'
   "​:flock" is not exported by the Fcntl module
   Can't continue after import errors at \-e line 1
   BEGIN failed\-\-compilation aborted at \-e line 1\.

Exporter's manpage says​:

"If the first entry in an import list begins with !, : or / then the
list is treated as a series of specifications which either add to or
delete from the list of names to import."

By implication, the special treatment of the export tags (names
beginning with a colon) doesn't apply if they don't appear first in the
import list.

Whether or not that's what people actually _expect_ (i.e. without having
read the manpage ;) is another matter.

- Steve


Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses​: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

@p5pRT
Copy link
Author

p5pRT commented Jan 20, 2004

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jan 20, 2004

@iabyn - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Jan 20, 2004
@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @mjdominus

Steve Hay <steve.hay@​uk.radan.com>​:

Mark-Jason Dominus (via RT) wrote​:

   plover% perl \-le 'use Fcntl "O\_RDONLY"\, "&#8203;:flock"; print "OK"'
   "&#8203;:flock" is not exported by the Fcntl module
   Can't continue after import errors at \-e line 1
   BEGIN failed\-\-compilation aborted at \-e line 1\.

Exporter's manpage says​:

"If the first entry in an import list begins with !, : or / then the
list is treated as a series of specifications which either add to or
delete from the list of names to import."

By implication, the special treatment of the export tags (names
beginning with a colon) doesn't apply if they don't appear first in the
import list.

Your conclusion is not correct, because in

  use POSIX qw(​:errno_h :termios_h !TCSADRAIN !/^EXIT/);

'​:termios_h' is treated specially even though it does not appear first.

More to the point, I wonder what would be the possible disadvantage of
extending the special treatment of '​:' and '!' items to those that
appear anywhere in the list. I understood the '​:errno_h' here to mean
'please give me all of the errno.h items'. I see no reason why it
should mean this under some circumstances, but have a different
meaning under other circumstances.

If modules wanted to export a lot of symbols that really did begin
with '​:', it might make sense. But they do not, so it doesn't.
Modules never export symbols that begin with '​:' or '!'.

Am I missing something here?

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @gisle

Mark Jason Dominus <mjd@​plover.com> writes​:

Am I missing something here?

Allowing '​:tag' everywhere makes the implementation of Exporter​::Heavy
even more heavy. Currently $imports[0] =~ m#^[/!​:]# is used as a
cheap test for whether tag processing is needed.

Other than that I don't see any problem.

Regards,
Gisle

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @steve-m-hay

Mark Jason Dominus wrote​:

Steve Hay <steve.hay@​uk.radan.com>​:

Mark-Jason Dominus (via RT) wrote​:

  plover% perl \-le 'use Fcntl "O\_RDONLY"\, "&#8203;:flock"; print "OK"'
  "&#8203;:flock" is not exported by the Fcntl module
  Can't continue after import errors at \-e line 1
  BEGIN failed\-\-compilation aborted at \-e line 1\.

Exporter's manpage says​:

"If the first entry in an import list begins with !, : or / then the
list is treated as a series of specifications which either add to or
delete from the list of names to import."

By implication, the special treatment of the export tags (names
beginning with a colon) doesn't apply if they don't appear first in the
import list.

Your conclusion is not correct, because in

   use POSIX  qw\(&#8203;:errno\_h :termios\_h \!TCSADRAIN \!/^EXIT/\);

'​:termios_h' is treated specially even though it does not appear first.

Yes, sorry - I phrased it badly. Exporter's manpage itself is correct
in what it says, though.

In order to have the :tags treated specially, the _first_ entry must
begin with a colon. The first entry in your POSIX example (​:errno_h)
does begin with a colon, hence you get the special treatment (even for
later items). The first entry in your "faulty" Fcntl example (O_RDONLY)
does not, so you don't get the special treatment.

More to the point, I wonder what would be the possible disadvantage of
extending the special treatment of '​:' and '!' items to those that
appear anywhere in the list.

The special treatment _does_ extend to other items in the list, but only
if the _first_ item begins with a colon.

I understood the '​:errno_h' here to mean
'please give me all of the errno.h items'. I see no reason why it
should mean this under some circumstances, but have a different
meaning under other circumstances.

If modules wanted to export a lot of symbols that really did begin
with '​:', it might make sense. But they do not, so it doesn't.
Modules never export symbols that begin with '​:' or '!'.

I agree, I think. The special handling of colons etc should be applied
(to all items in the list) even when the first item doesn't begin with
one of the special characters.

- Steve


Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses​: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @Tux

On Wed 21 Jan 2004 14​:53, Gisle Aas <gisle@​ActiveState.com> wrote​:

Mark Jason Dominus <mjd@​plover.com> writes​:

Am I missing something here?

Allowing '​:tag' everywhere makes the implementation of Exporter​::Heavy
even more heavy. Currently $imports[0] =~ m#^[/!​:]# is used as a
cheap test for whether tag processing is needed.

Other than that I don't see any problem.

like this?

Inline Patch
--- lib/Exporter/Heavy.pm.org   2004-01-21 16:32:04.000000000 +0100
+++ lib/Exporter/Heavy.pm       2004-01-21 16:34:24.000000000 +0100
@@ -69,7 +69,7 @@ sub heavy_export {
            $cache_is_current = 1;
        }

-       if ($imports[0] =~ m#^[/!:]#){
+       if (join ("\n", @imports) =~ m{\n[/!:]}) {
            my $tagsref = \%{"${pkg}::EXPORT_TAGS"};
            my $tagdata;
            my %imports;

> Regards, > Gisle

--
H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
  AIX 4.3, SuSE 8.2, and Win2k. http​://www.cmve.net/~merijn/
http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org
send smoke reports to​: smokers-reports@​perl.org, QA​: http​://qa.perl.org

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @gisle

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

On Wed 21 Jan 2004 14​:53, Gisle Aas <gisle@​ActiveState.com> wrote​:

Mark Jason Dominus <mjd@​plover.com> writes​:

Am I missing something here?

Allowing '​:tag' everywhere makes the implementation of Exporter​::Heavy
even more heavy. Currently $imports[0] =~ m#^[/!​:]# is used as a
cheap test for whether tag processing is needed.

Other than that I don't see any problem.

like this?

--- lib/Exporter/Heavy.pm.org 2004-01-21 16​:32​:04.000000000 +0100
+++ lib/Exporter/Heavy.pm 2004-01-21 16​:34​:24.000000000 +0100
@​@​ -69,7 +69,7 @​@​ sub heavy_export {
$cache_is_current = 1;
}

- if ($imports[0] =~ m#^[/!​:]#){
+ if (join ("\n", @​imports) =~ m{\n[/!​:]}) {
my $tagsref = \%{"${pkg}​::EXPORT_TAGS"};
my $tagdata;
my %imports;

Is that faster than the more obvious​:

  if (grep m#^[/!​:]#, @​imports) {
  ...
  }

Also I don't think your version will recognize "​:foo" in the first
@​import element. You might want your RE to be m{^[/!​:]}m instead.

Regards,
Gisle

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @Tux

On Wed 21 Jan 2004 17​:32, Gisle Aas <gisle@​ActiveState.com> wrote​:

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

On Wed 21 Jan 2004 14​:53, Gisle Aas <gisle@​ActiveState.com> wrote​:

Mark Jason Dominus <mjd@​plover.com> writes​:

Am I missing something here?

Allowing '​:tag' everywhere makes the implementation of Exporter​::Heavy
even more heavy. Currently $imports[0] =~ m#^[/!​:]# is used as a
cheap test for whether tag processing is needed.

Other than that I don't see any problem.

like this?

--- lib/Exporter/Heavy.pm.org 2004-01-21 16​:32​:04.000000000 +0100
+++ lib/Exporter/Heavy.pm 2004-01-21 16​:34​:24.000000000 +0100
@​@​ -69,7 +69,7 @​@​ sub heavy_export {
$cache_is_current = 1;
}

- if ($imports[0] =~ m#^[/!​:]#){
+ if (join ("\n", @​imports) =~ m{\n[/!​:]}) {
my $tagsref = \%{"${pkg}​::EXPORT_TAGS"};
my $tagdata;
my %imports;

Is that faster than the more obvious​:

if \(grep m\#^\[/\!&#8203;:\]\#\, @&#8203;imports\) \{

boy, am I glad I did not submit that proposal :)

I still don't like # as re sep now that we have a much better readable {}

    \.\.\.
\}

Also I don't think your version will recognize "​:foo" in the first
@​import element. You might want your RE to be m{^[/!​:]}m instead.

Regards,
Gisle

--
H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
  AIX 4.3, SuSE 8.2, and Win2k. http​://www.cmve.net/~merijn/
http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org
send smoke reports to​: smokers-reports@​perl.org, QA​: http​://qa.perl.org

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @Tux

On Wed 21 Jan 2004 17​:32, Gisle Aas <gisle@​ActiveState.com> wrote​:

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

On Wed 21 Jan 2004 14​:53, Gisle Aas <gisle@​ActiveState.com> wrote​:

Mark Jason Dominus <mjd@​plover.com> writes​:

Am I missing something here?

Allowing '​:tag' everywhere makes the implementation of Exporter​::Heavy
even more heavy. Currently $imports[0] =~ m#^[/!​:]# is used as a
cheap test for whether tag processing is needed.

Other than that I don't see any problem.

like this?

--- lib/Exporter/Heavy.pm.org 2004-01-21 16​:32​:04.000000000 +0100
+++ lib/Exporter/Heavy.pm 2004-01-21 16​:34​:24.000000000 +0100
@​@​ -69,7 +69,7 @​@​ sub heavy_export {
$cache_is_current = 1;
}

- if ($imports[0] =~ m#^[/!​:]#){
+ if (join ("\n", @​imports) =~ m{\n[/!​:]}) {
my $tagsref = \%{"${pkg}​::EXPORT_TAGS"};
my $tagdata;
my %imports;

Is that faster than the more obvious​:

only if there is a large list. grep will match against every item, where join
(either with join or with {$"="\n";"@​imports"=~m{...}}) could stop after the
first match, and a concat is cheaper than a match. Now the chance on having
huge import lists is rather small, and it documents much better. Thanks.

if \(grep m\#^\[/\!&#8203;:\]\#\, @&#8203;imports\) \{
    \.\.\.

Test cases welcome still

Change 22192 by merijn@​merijn-l1 on 2004/01/21 21​:10​:10

  [perl #25160] '​:flock' not recognized unless it's first
  Exporter​::Heavy now will treat :, /, and ! special in
  all arguments, not only if the _first_ arg starts with it
  Date​: Wed, 21 Jan 2004 08​:32​:47 -0500
  Message-ID​: <20040121133248.3359.qmail@​plover.com>

Affected files ...

... //depot/perl/lib/Exporter/Heavy.pm#22 edit

Differences ...

==== //depot/perl/lib/Exporter/Heavy.pm#22 (text) ====

@​@​ -69,7 +69,7 @​@​
  $cache_is_current = 1;
  }

- if ($imports[0] =~ m#^[/!​:]#){
+ if (grep m{^[/!​:]}, @​imports) {
  my $tagsref = \%{"${pkg}​::EXPORT_TAGS"};
  my $tagdata;
  my %imports;

\}

Also I don't think your version will recognize "​:foo" in the first
@​import element. You might want your RE to be m{^[/!​:]}m instead.

Regards,
Gisle

--
H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
  AIX 4.3, SuSE 8.2, and Win2k. http​://www.cmve.net/~merijn/
http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org
send smoke reports to​: smokers-reports@​perl.org, QA​: http​://qa.perl.org

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2004

From @gisle

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

Test cases welcome still

Change 22192 by merijn@​merijn-l1 on 2004/01/21 21​:10​:10

    \[perl \#25160\] '&#8203;:flock' not recognized unless it's first
    Exporter&#8203;::Heavy now will treat :\, /\, and \! special in
    all arguments\, not only if the \_first\_ arg starts with it
    Date&#8203;: Wed\, 21 Jan 2004 08&#8203;:32&#8203;:47 \-0500
    Message\-ID&#8203;: \<20040121133248\.3359\.qmail@&#8203;plover\.com>

Affected files ...

... //depot/perl/lib/Exporter/Heavy.pm#22 edit

You should also patch up the Exporter documentation that explained the
old behaviour of "If the first entry in an import list begins with !,
: or /".

--Gisle

Differences ...

==== //depot/perl/lib/Exporter/Heavy.pm#22 (text) ====

@​@​ -69,7 +69,7 @​@​
$cache_is_current = 1;
}

- if ($imports[0] =~ m#^[/!​:]#){
+ if (grep m{^[/!​:]}, @​imports) {
my $tagsref = \%{"${pkg}​::EXPORT_TAGS"};
my $tagdata;
my %imports;

\}

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2004

From @Tux

On Wed 21 Jan 2004 23​:59, Gisle Aas <gisle@​ActiveState.com> wrote​:

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

Test cases welcome still

Change 22192 by merijn@​merijn-l1 on 2004/01/21 21​:10​:10

    \[perl \#25160\] '&#8203;:flock' not recognized unless it's first
    Exporter&#8203;::Heavy now will treat :\, /\, and \! special in
    all arguments\, not only if the \_first\_ arg starts with it
    Date&#8203;: Wed\, 21 Jan 2004 08&#8203;:32&#8203;:47 \-0500
    Message\-ID&#8203;: \<20040121133248\.3359\.qmail@&#8203;plover\.com>

Affected files ...

... //depot/perl/lib/Exporter/Heavy.pm#22 edit

You should also patch up the Exporter documentation that explained the
old behaviour of "If the first entry in an import list begins with !,
: or /".

Somewhat like below? Does the *change* need to be documented?
Do we need a version increase?
We *do* need tests (I am not good in tests​: hint hint)

Inline Patch
--- lib/Exporter.pm.org 2004-01-22 01:32:23.000000000 +0100
+++ lib/Exporter.pm     2004-01-22 01:34:17.000000000 +0100
@@ -212,9 +212,9 @@ need to know to use Exporter.

 =head2 Specialised Import Lists

-If the first entry in an import list begins with !, : or / then the
-list is treated as a series of specifications which either add to or
-delete from the list of names to import. They are processed left to
+If any of the entries in an import list begins with !, : or / then
+the list is treated as a series of specifications which either add to
+or delete from the list of names to import. They are processed left to
 right. Specifications are in the form:

     [!]name         This name only

-- 

H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
  AIX 4.3, SuSE 8.2, and Win2k. http​://www.cmve.net/~merijn/
http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org
send smoke reports to​: smokers-reports@​perl.org, QA​: http​://qa.perl.org

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2004

From @nwc10

On Thu, Jan 22, 2004 at 01​:36​:15AM +0100, H.Merijn Brand wrote​:

On Wed 21 Jan 2004 23​:59, Gisle Aas <gisle@​ActiveState.com> wrote​:

"H.Merijn Brand" <h.m.brand@​hccnet.nl> writes​:

Test cases welcome still

Change 22192 by merijn@​merijn-l1 on 2004/01/21 21​:10​:10

    \[perl \#25160\] '&#8203;:flock' not recognized unless it's first
    Exporter&#8203;::Heavy now will treat :\, /\, and \! special in
    all arguments\, not only if the \_first\_ arg starts with it
    Date&#8203;: Wed\, 21 Jan 2004 08&#8203;:32&#8203;:47 \-0500
    Message\-ID&#8203;: \<20040121133248\.3359\.qmail@&#8203;plover\.com>

Affected files ...

... //depot/perl/lib/Exporter/Heavy.pm#22 edit

You should also patch up the Exporter documentation that explained the
old behaviour of "If the first entry in an import list begins with !,
: or /".

Somewhat like below? Does the *change* need to be documented?

I'd be happier if we actually documented that a change was made.
I'm expecting that module authors will be creating or testing modules
on 5.8.x with this, upload the module to CPAN, and then be surprised
about bug reports from 5.8.3 and earlier. So I'd like to mention it in
perl584delta, and link to Exporter's documentation.

I fully expect many module authors not to read the documentation until after
the bug report, but I'm much happier to have the blame transfer already in
place.

Do we need a version increase?

Definitely by 5.8.4, yes. I think that this change is significant
enough to justify it, given that we're unlikely to patch Exporter again
in the next couple of months.

We *do* need tests (I am not good in tests​: hint hint)

Calling all happy passive readers of perl5-porters - submit a patch, get
your name into the AUTHORS file​: fame, immortality and more spam.

Nicholas Clark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant