in reply to Playing video with perl / perltk

in the sample code. is there a way to play multiple video files? i.e. play video1.wmv then video2.wmv then video3.wmv and repeat loop (video1,video2,video3)?

sample code

use strict; use Tk; use Win32::MultiMedia::Mci; my $file = shift || 'test.wmv'; my $mw = MainWindow->new(); my $video_frame = $mw->Frame( -width => 352, -height => 240, -background => 'black' )->pack(-expand => 1); my $mci = Win32::MultiMedia::Mci->open($file, shareable => 1, style => 'child', parent => hex($video_frame->id) ); $mci->play(''); MainLoop();
Thanks
John