Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: A MIDI For LostS

by LostS (Friar)
on Feb 09, 2003 at 16:48 UTC ( [id://233922]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://233922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found