Re: Perl 5.6 breaks MIDI::Simple V0.76

[email protected] ((Sean M. Burke)) Fri, 19 May 100 12:30:36 -0600 (MDT)
Newsgroups perl.midi
Message-ID <[email protected]>
Matt Burt wrote:
> use strict 'vars';
> use vars qw(@ISA @EXPORT $VERSION $Debug
>             %package
>             %Volume @Note %Note %Length
>             &make_opus($\@) &write_score($$\@)
>             &read_score($) &dump_score(\@)
>            );
> 
> with :-
> 
> use strict 'vars';
> use strict 'subs';
> use vars qw(@ISA @EXPORT $VERSION $Debug
>             %package
>             %Volume @Note %Note %Length);
> use subs qw(&make_opus($\@) &write_score($$\@)
>             &read_score($) &dump_score(\@)
>            );

Hm, I don't totally understand how vars works, but I guess you're
exactly right -- I thought vars was for all kinds of symbols, but I
guess it's just for variables proper, not subs.  Interesting that vars
didn't use to complain, but I guess it's good that it does now.  I'll
try to come out with a bugfix verison very soon.

-- 
Sean M. Burke    [email protected]    http://www.spinn.net/~sburke/