|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Media Player - CPU Usageby Lotus1 (Hermit) |
| on Nov 28, 2012 at 22:03 UTC ( #1006113=note: print w/ replies, xml ) | Need Help?? |
|
Here is what is shown for this in the synopsis for Win32::MediaPlayer.
To break out of the while loop you could do this: last unless $winmm->pos < $winmm->length;Update: In order to get the print statement inside the while loop to work I had to add $| = 1; at the top of the program.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||