MIDI::Simple breaking?

[email protected] ("Sean M. Burke") Tue, 01 May 2001 21:13:13 -0600
Newsgroups perl.midi
Message-ID <[email protected]>
At 06:49 PM 2001-05-01 -0400, you wrote:
>something, somewhere went ker-snap, and suddenly none of my several
>dozen perl-midi scripts work.  I think perhaps a new version of perl
>was installed on my unix machine by the sysadmins?  anyway, we're up
>to version v5.6.1  and this is the error message I get when I run:
>
>'&make_opus($\@)' is not a valid variable name under strict vars at
>MIDI/Simple.pm line 6
>BEGIN failed--compilation aborted at MIDI/Simple.pm line 11.
>Compilation failed in require at ./wang.pl line 5.
>BEGIN failed--compilation aborted at ./wang.pl line 5.

My crystal ball is refusing to tell me about your wang, nor about what
version of MIDI::Simple you have.

Has anyone else had this problem with MIDI::Simple?

I suspect you have an old version, since line 6 of MIDI::Simple 0.77 (the
latest, from the MIDI-Perl 0.79 dist) is the quite harmless:
use Carp;
I'd like to know what your line 6 is.


With Perl 5.6.0 (the latest I have on hand) and MIDI::Simple 0.77, I can't
replicate the error:

C:\WINDOWS>perl -d -e 1
Default die handler restored.

Loading DB routines from perl5db.pl version 1.07
Editor support available.

Enter h or `h h' for help, or `perldoc perldebug' for more help.

main::(-e:1):   1
  DB<1> use MIDI::Simple
[no error works fine! -- SMB]
  DB<2> print $MIDI::Simple::VERSION
0.77
  DB<3> print $]
5.006


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