🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.midi
Article #1

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

#1
From: (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/
Technical Details
Message-ID: <200005191830.MAA25531@spinntwo.spinn.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org
References: <000801bfc1b2$62afefa0$4c6c989e@andelain>

Show Full Headers
Complete Article Headers
Message-ID: <200005191830.MAA25531@spinntwo.spinn.net>
Subject: Re: Perl 5.6 breaks MIDI::Simple V0.76
Date: Sun, 19 May 2019 12:30:36 +0000
From: sburke@spinn.net ((Sean M. Burke))
References: <000801bfc1b2$62afefa0$4c6c989e@andelain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org
Newsgroups: perl.midi
Return-Path: <sburke@spinntwo.spinn.net>
Mailing-List: contact midi-help@perl.org; run by ezmlm
Delivered-To: mailing list midi@perl.org
Received: (qmail 25142 invoked from network); 19 May 2000 18:43:48 -0000
Received: from spinntwo.spinn.net (sburke@209.75.134.7)
Received: (from sburke@localhost)
 by spinntwo.spinn.net (8.8.7/8.8.7) id MAA25531;
To: m.burt@bcs.org.uk
Cc: midi@perl.org
In-Reply-To: <000801bfc1b2$62afefa0$4c6c989e@andelain> from "Matt Burt" at May 19, 0 05:48:45 pm
Content-Language: en-US
Content-Type: text
Approved: news@nntp.perl.org