🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by (Sean M. Burke) Sun, 19 May 2019 12:30
Re: Perl 5.6 breaks MIDI::Simple V0.76
#1
Author: (Sean M. Burke)
Date: Sun, 19 May 2019 12:30
28 lines
1994 bytes
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    sburke@cpan.org    http://www.spinn.net/~sburke/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads