in reply to A MIDI For LostS
in thread Win32::MIDI Player

What is this part? It doesn't work for me:
exec('start','LostS.mid') if ($^O =~ /MSWin32/);


-----------------------
Billy S.
Slinar Hardtail - Hand of Dane
Datal Ephialtes - Guildless
RallosZek.Net Admin/WebMaster

perl -le '$cat = "cat"; if ($cat =~ /\143\x61\x74/) { print "Its a cat +!\n"; } else { print "Thats a dog\n"; }'

Replies are listed 'Best First'.
Re: Re: A MIDI For LostS
by Mr. Muskrat (Canon) on Feb 10, 2003 at 13:44 UTC

    Exec 'start' with 'LostS.mid' as the only command line parameter if you are running a version of MS Windows. It works like a charm on my Win98 box but I should have tested it on my win2k box before posting. Perhaps exec('LostS.mid') would work better for you?

    Basically it's supposed to start the MIDI using whatever player is associated with .mid files.